mazey
    Preparing search index...

    Variable unsanitizeInputConst

    unsanitizeInput: (input: string) => string = unescapeHTML

    Deprecated alias of unescapeHTML.

    Type Declaration

      • (input: string): string
      • Decode the fixed HTML entity set emitted by escapeHTML.

        Decoding uses one pass and preserves unrecognized entities. This is not a general HTML entity decoder, and the result may contain active HTML markup.

        Usage:

        import { unescapeHTML } from "mazey";

        const ret = unescapeHTML("<div>hello world</div>");
        console.log(ret);

        Output:

        <div>hello world</div>
        

        Parameters

        • input: string

          The string containing escaped characters.

        Returns string

        The decoded string.

    Use unescapeHTML instead.