Cleaning mixed type <script> tags
- by yossale
I'm cleaning HTML using cyberneko and xerces.
However , some $#@@!@@ websites still use BOTH
<script>...</script> and <script.../>
So what happens is this : given
<script..../> <div> Some Text </div> <script> scripting stuff </script> ,
neko parses all the above line as a script , so I get …