Skip to content

Increase minification: emit_attributes() should pick single or double quotation form for escaping #164

Open
@raphaelcohn

Description

@raphaelcohn

A nice feature to improve minification would to let emit_attributes() choose to use either a single or double quoted form for attribute values depending on the presence of double or single quotes in the attribute value to be escaped. This obviously has a performance hit, so it should be an option in EmitterConfig.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions