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

Self-closing spans are not supported ☣️⚠️ #8

Closed
n-sviridenko opened this issue Aug 9, 2019 · 2 comments · Fixed by #18
Closed

Self-closing spans are not supported ☣️⚠️ #8

n-sviridenko opened this issue Aug 9, 2019 · 2 comments · Fixed by #18

Comments

@n-sviridenko
Copy link

The library doesn't support html5 tags (e.g. self-closing span).

When parsing the following:

<span itemprop="price" content="139.90" />

foo

bar

It adds "foo ... bar" to the price attribute until it won't find a closing </span> tag.

@n-sviridenko
Copy link
Author

The issue is in the upstream repo.

@n-sviridenko
Copy link
Author

No, the issue is in this package as well. The context is here wikimedia/html-metadata#83

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

Successfully merging a pull request may close this issue.

1 participant