Riksdagsmonitor Intelligence Platform โ€” API Documentation - v1.0.30
    Preparing search index...
    • Repair timeline event lines that lead with an HH:MM clock time:

      08:38 : CU22 published        โ‡’   08.38 : CU22 published

      Mermaid's timeline grammar treats : as the separator between <title> and <event>. An event line 08:38 : CU22 published therefore parses as title=08, event=38, and the third colon triggers a "Parse error". Replacing the colon between the two leading digit pairs with . keeps the clock readable for humans and parseable for Mermaid.

      Only triggers on lines that are not the timeline keyword, title โ€ฆ, section โ€ฆ, comments, or directives.

      Parameters

      • body: string

      Returns string