We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have markup like
<style> /* width < 800px */ @media (max-width: 800px) { /* selectors */ } </style>
The JS object for the style tag is:
{ tag: 'style', content: [ '\n/* width ', '< 800px */\n@media (max-width: 800px) {\n /* selectors */\n }\n' ] }
In other words, the parser incorrectly splits text content according to the < character.
<
The text was updated successfully, but these errors were encountered:
@matthew-dean thanks, i will solve it
Sorry, something went wrong.
Hi @matthew-dean this bug related to htmlparse2:
htmlparse2
<[
I can recommend changing from /* width < 800px */ to /* width less 800px */
/* width < 800px */
/* width less 800px */
test: contents are split with '<' in comment, issue #18
cbeb319
8e64082
Scrum
No branches or pull requests
I have markup like
The JS object for the style tag is:
In other words, the parser incorrectly splits text content according to the
<
character.The text was updated successfully, but these errors were encountered: