Skip to content

escape_gt_in_attrs #201

Open
Open
@da2x

Description

@da2x

Why is there no escape_gt_in_attrs counterpart of escape_lt_in_attrs? Optimistic regex tag-soup readers do negative lookaheads for > to determine the closing point of a tag. They’re just as important to escape in atts as < for compatibility with everything.

Authors can’t work around this because <elm attr="&lt;example&gt;"> is always turned into <elm attr="&lt;example>">

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions