EU Parliament Monitor — API Documentation - v0.9.24
    Preparing search index...

    Module Utils/Html/Escape

    Single repo-wide HTML escaping and decoding utilities.

    escapeHTML is the canonical XSS-prevention encoder for the codebase — its behaviour must not change. decodeHtmlEntities is the inverse used when extracting plain text from our own generated HTML.

    Functions

    decodeHtmlEntities
    escapeHTML