Skip to content

--preserve-entities clashes with --quote-ampersand #207

@pjuhasz

Description

@pjuhasz

Example HTML:

a & b

Command line:
tidy5 --quote-ampersand yes --preserve-entities yes foo.html > tidied.html

I would expect that it convert the unescaped & to & but it does not if --preserve-entities is set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions