Skip to content

Fix error in lang attribute parsing #76

Description

@borgar

The textile %["red":https://example.com].% is incorrectly parsed.

The resulting HTML is:

<span lang="&quot;red&quot;:https://example.com">.</span><

But should be:

<span><a href="https://example.com">red</a>.</span>

Likely it is best to restrict what input is allowed in a lang attribute.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions