Quote:
Originally Posted by unboggling
Thanks for the clarification. Ah, "self-closing tag". Nice to learn the correct term.
Yeah, I did know about most html tags needing a closing tag. To my mind self-closing tags mixed with non-self-closing tags in search/replace scenarios are quite confusing.
|

Why does it matter to a S&R if they are mixed in
BTW I have seen a non-pretty version, so a S&R REGEX for a BR
<br\s*/> no class
Calibre assigns a class (and includes the space)
<br class="calibre\d+" />