Close format tags

Posted by ZyX on Super User See other posts from Super User or by ZyX
Published on 2010-04-08T21:45:32Z Indexed on 2010/04/08 21:53 UTC
Read the original article Hit count: 360

Filed under:
|

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.

© Super User or respective owner

Related posts about html

Related posts about opera-10