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

Bad html syntax #247

Open
xelloss1012 opened this issue Sep 2, 2021 · 0 comments
Open

Bad html syntax #247

xelloss1012 opened this issue Sep 2, 2021 · 0 comments

Comments

@xelloss1012
Copy link

xelloss1012 commented Sep 2, 2021

Goog morning,

Using the Nu Html Checker (https://validator.w3.org/nu/), we get 2 validation errors for each typeahead found in the page:

1 - Element pre not allowed as child of element span in this context.
2 - Element div not allowed as child of element span in this context.

It seems that the problem lies on the wrapper "twiter-typeahead" being declared as a span and thus does not allowing block tags like pre or div... Just changing it to be a div in the buildHtml function seems to solve the problem without causing any other problems (as far I have seen).

Would it be possible to apply this change?

Anyway I will apply this fix on my local file, but it would be better if it is addressed also in the official version of this plugin :)

Thank you!

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