EU Parliament Monitor — API Documentation - v1.0.0
    Preparing search index...
    • Strip the legacy dateline prefix and the redundant localized date-label clause from a candidate description, returning the reader-facing body in isolation. Used to clean a previously-backfilled <meta description> before it is re-fed to the per-language SEO resolver — without this, the resolver re-clamps the prefixed buffer against the CJK metaDescription budget and truncates the reader label mid-clause (live regression in news/2026-04-26-week-ahead-ko.html, a dangling "추적하는." participle).

      Parameters

      • date: string

        Article date (ISO YYYY-MM-DD)

      • slug: string

        Article slug

      • lang: string

        Article language code

      • description: string

        Candidate description (possibly already prefixed)

      Returns string

      Reader-facing body with prefix + date label removed