hammerspoon2-docs
    Preparing search index...

    Function convertHtmlEntities

    • Convert HTML entities in a string to their UTF-8 character equivalents. Handles named entities (e.g. &, <, ©), decimal numeric references (&), and hexadecimal numeric references (&).

      Parameters

      • string: string

        The string containing HTML entities.

      Returns string

      The string with HTML entities replaced by their UTF-8 characters.