littyEncode | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Function littyEncode

    • Insert a value with a specific encoding

      Parameters

      • data: string

        The string to encode

      • encoding: "attribute" | "html"

        The type of encoding to apply, e "html" to encode \n as <br>.

      Returns Litty