Skip to content

Using application/xhtml+xml results in 'invalid or illegal string' #1827

Closed
@pjb1008

Description

@pjb1008

The 'create' option and the 'remove_button' plugin break if you use selectize with an html5 web page served with content-type application/xhtml+xml.

With this combination, the named character entities aren't defined; only the xml-specific named entities set are available. The web browser objects to … (used by 'create') and × (used by 'remove_button') when they are added to the DOM.

If you replace these named entities with … and × respectively, both features work perfectly.

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