From 2a220cff211086f254b0cd33ce1a1c829348c369 Mon Sep 17 00:00:00 2001 From: Weijia Cheng Date: Mon, 20 Jan 2025 21:55:06 -0500 Subject: [PATCH] Make bold/strong regular expression catch more cases --- .../how-to-review-an-ebook-production-for-publication.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/contribute/how-tos/how-to-review-an-ebook-production-for-publication.php b/www/contribute/how-tos/how-to-review-an-ebook-production-for-publication.php index cc0fa770..6823d4aa 100644 --- a/www/contribute/how-tos/how-to-review-an-ebook-production-for-publication.php +++ b/www/contribute/how-tos/how-to-review-an-ebook-production-for-publication.php @@ -102,7 +102,7 @@
  • Review bold and strong elements

    The <b> and <strong> elements are not to be used interchangeably (see relevant section of the Manual here). Use the following command to check their usage in the production (alternatively, use the regular expression search function in a text editor):

    - grep --recursive --line-number --extended-regexp "<(b|strong)>" src/epub/text/*.xhtml + grep --recursive --line-number --extended-regexp "<(b\W|strong)" src/epub/text/*.xhtml
  • Review XHTML file structure