Autoclose for <script> and <style> in HTML::Parser

Alex Kapranoff <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.lwp
Organization Inner Mongolia
Message-ID <[email protected]>
Good day to all!

When HTML::Parser encounters an unclosed <script> or <style> tag it
emulates one just before the next opening tag.

Indeed, this behaviour is described in Changes for Release 3.39_91.

Why is it so? It breaks my tests so I'd like to know the rationale
behind this :) Can someone enlight me?

Thanks a lot in advance!

-- 
Alex Kapranoff.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.