node-osmosis icon indicating copy to clipboard operation
node-osmosis copied to clipboard

Cannot get contents of an element that contains < as text

Open itsthatguy opened this issue 6 years ago • 1 comments
trafficstars

When a site uses the direct < as text, rather than &lt; it stops parsing before the &lt;

In other words: <span>Radness < 3</span> would just return Radness

itsthatguy avatar May 31 '19 02:05 itsthatguy

For some context, this isn't the native behavior of libxmljs so I'm not sure what's going on here. I'd be happy to submit a PR if you could point me in a direction.

itsthatguy avatar May 31 '19 02:05 itsthatguy