Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions