Skip to content

Feature: XML/HTML encode without quotes #78

@ygoe

Description

@ygoe

When writing HTML code that should display HTML code, the only characters that need encoding are < and &. For reasons of symmetry (and maybe "readability"), also > should be encoded. Quotes ' and " do not need to be encoded in plain HTML text content.

I suggest adding a conversion that covers the three mentioned characters but no quotes. There's no difference between HTML and XML for this matter, so the conversion name could be both. Maybe naming it XML would be more appropriate.

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