Quote:
Originally Posted by ignaz wrangel
What I have in mind is to use the break inserted by sigil (<p><br /></p>) as a marker to locate the paragraphs that follow it and add a class to their <p> tag, the marker is then deleted. Is this what you mean?
something like
Code:
<p><br /></p>[^<]*<p\b[^>]*>
replace with:
<p class=“scenebreak”>
|
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.