EU Parliament Monitor - API Documentation - v0.7.1
    Preparing search index...

    Function fixArticle

    • Fix a single article file by injecting missing structural elements.

      Parameters

      • filepath: string

        Absolute path to article HTML file

      • dryRun: boolean = false

        If true, only report what would change

      Returns { changed: boolean; description: string }

      Object with changed flag and description