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

Tags with multiple not-quoted attributes are not being properly extracted. #2

Closed
gushuro opened this issue Jan 23, 2018 · 1 comment

Comments

@gushuro
Copy link

gushuro commented Jan 23, 2018

When extracting an abbreviation where a child element has multiple attributes that are not quoted, part of it is wrongly identified as an html tag. Therefore, it fails to extract the whole abbreviation.

Example:
isAtHTMLTag(new StreamReader('div[foo=bar foo2=bar2]>')) returns true.

Therefore, when trying to extract abbreviation from something like div[foo=bar foo2=bar2]>ul and then expand it we get div[foo=bar foo2=bar2]><ul></ul> instead of

<div foo="bar" foo2="bar2">
	<ul></ul>
</div>
@ramya-rao-a
Copy link
Contributor

This got fixed with #3

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

2 participants