EU Parliament Monitor — API Documentation - v0.8.55
    Preparing search index...
    • Strip an AI-authored Reader Intelligence Guide section from rendered HTML. Looks for H2 headings with id="reader-intelligence-guide" and removes everything up to the next H2 or the end of the content. This ensures the canonical renderer-owned guide is the sole instance in the article.

      Parameters

      • html: string

        Rendered HTML body fragment

      Returns string

      HTML with any inline reader-intelligence-guide removed