GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Strip all HTML from a string, keeping only text content.

      Parameters

      • html: string

        The HTML string to strip. Non-string values return "".

      Returns string

      The plain text content without any HTML tags.

      Removes all HTML tags from untrusted strings, returning safe plain text.