Skip to content

Request: Add goog.string/htmlEscape to Scittle's Closure API #105

@ikappaki

Description

@ikappaki

Hi,

I'd like to request adding the goog.string/htmlEscape to the scittle API.

Escapes double quote '"' and single quote ''' characters in addition to '&', '<', and '>' so that a string can be included in an HTML tag attribute value within double or single quotes.

I couldn't find a native JS function that covers this.

PR incoming.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions