neutralitywtf / ConceptReplacer

A system that replaces a set terminology with another based on dictionaries
GNU General Public License v3.0
0 stars 2 forks source link

<script> tags and content aren't always properly stripped #9

Open mooeypoo opened 7 years ago

mooeypoo commented 7 years ago

There seem to be cases where the content of the tag. It's possible the DOM parser is confused because of the string "

" that is immediately before that text.

This requires some investigation; it might be DOMDocument and xpath itself.