@lesjoursfr/browser-tools
    Preparing search index...

    Function escape

    • Escape the characters "&", "<", ">", '"', and "'" in the given string to their corresponding HTML entities.

      Parameters

      • string: string

        the string to escape

      Returns string

      the escaped string