@umbraco-cms/backoffice
    Preparing search index...

    Function decodeHtmlEntities

    • Decode common HTML entities in text content so they display as literal characters inside the editor. The decode order matters: &amp; must be decoded last so that doubly-encoded sequences like &amp;lt; first survive the &lt; pass and then correctly become &lt; (not <).

      Parameters

      • text: string

      Returns string