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

    Function patchHtmlContent

    • Apply all language patches to the given HTML content string and return the patched string.

      Scope is intentionally narrow: only document-level lang/dir attributes, JSON-LD language fields, og:locale, and self-referential URL fields are rewritten. Body content is left untouched.

      Parameters

      Returns string

      Patched HTML content.