Skip to content

Bad html syntaxΒ #247

@xelloss1012

Description

@xelloss1012

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions