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 containing spaces not matched by parser in HtmlText #79

Open
thgoebel opened this issue Feb 18, 2019 · 0 comments
Open

Tags containing spaces not matched by parser in HtmlText #79

thgoebel opened this issue Feb 18, 2019 · 0 comments

Comments

@thgoebel
Copy link

thgoebel commented Feb 18, 2019

For example HtmlText(data: '<p> Test text before <br /> and after linebreak </p>') will throw an error: Parse Error: <br /> and after linebreak </p>.

HtmlText(data: '<p> Test text before <br/> and after linebreak </p>') on the other hand works.

Yes it seems unnecessary to have spaces, but according to good ol' StackOverflow it's allowed, and some webpages use it. So here we are! 🤷‍♂️

I very much suspect this is also the cause of #42.

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