View Single Post
Old 09-26-2015, 10:20 PM   #10
ignaz wrangel
Member
ignaz wrangel began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2015
Device: kindle 4g
Quote:
Originally Posted by JSWolf View Post
Sort of.

If you have...

<p><br /></p>
<p>Some paragraph text.</p>

then it would be best to be...

<p class="scenebreak">Some paragraph text.</p>

That would make the code even neater and would mean that you can also include a text indent of 0.
the regex I posted produces that, it selects the marker and the following opening <p>, and replaces the lot with <p class="scenebreak">, the rest just remains in place ("some paragraph text</p>")
ignaz wrangel is offline   Reply With Quote