Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get contents of an element that contains < as text #238

Open
itsthatguy opened this issue May 31, 2019 · 1 comment
Open

Cannot get contents of an element that contains < as text #238

itsthatguy opened this issue May 31, 2019 · 1 comment

Comments

@itsthatguy
Copy link

itsthatguy commented May 31, 2019

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
Copy link
Author

itsthatguy commented May 31, 2019

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 itsthatguy changed the title Cannot get contents of an element that contains < or > as text Cannot get contents of an element that contains < as text May 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant