EU Parliament Monitor - API Documentation - v0.5.0
    Preparing search index...

    Function escapeHTML

    • Escape special HTML characters to prevent XSS

      Parameters

      • str: string

        Raw string to escape

      Returns string

      HTML-safe string