mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 10:56:46 -04:00
Make bold/strong regular expression catch more cases
This commit is contained in:
parent
43cf946cc9
commit
2a220cff21
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@
|
|||
<li>
|
||||
<h2>Review bold and strong elements</h2>
|
||||
<p>The <code class="html"><span class="p"><</span><span class="nt">b</span><span class="p">></span></code> and <code><span class="p"><</span><span class="nt">strong</span><span class="p">></span></code> elements are not to be used interchangeably (see relevant section of the Manual <a href="manual/latest/single-page#8.3.3">here</a>). Use the following command to check their usage in the production (alternatively, use the regular expression search function in a text editor):</p>
|
||||
<code class="terminal"><b>grep</b> --recursive --line-number --extended-regexp <i>"<(b|strong)>"</i> <u>src/epub/text/<i class="glob">*</i>.xhtml</u></code>
|
||||
<code class="terminal"><b>grep</b> --recursive --line-number --extended-regexp <i>"<(b\W|strong)"</i> <u>src/epub/text/<i class="glob">*</i>.xhtml</u></code>
|
||||
</li>
|
||||
<li>
|
||||
<h2>Review XHTML file structure</h2>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue