Close format tags
- by ZyX
I have HTML with following structure
<html>
<...>
<div>
Something
</div>
<...>
Text
</html>
If «Something» contains an unclosed <b> tag «Text» also becomes bold. I want to close this tag using [User]CSS, [User]JS, HTML or fixed number of PCRE regexs. I do not know how many unclosed tags Something contains, but div's around Something are added by me using Privoxy.