• v1.0.1 9989843017

    ric_harvey released this 2026-03-26 18:13:38 +00:00 | 2 commits to main since this release

    Fixed

    • leg_get_section now returns actual legislative prose text instead of just metadata and sourceUrl — the parser was not navigating the <Primary><Body> and <Secondary><Body> wrappers used by the real API
    • leg_get_section now produces structured, readable text output preserving paragraph numbering and hierarchy (P1/P2/P3 nesting with indentation)
    • leg_changes_affecting and leg_changes_by now correctly parse effects from the real API, which wraps <Effect> elements inside a <content> element
    • Effects parser now handles the real API's attribute-based format (AffectedURI, AffectingURI, AffectedTitle, AffectingTitle on the Effect element)
    • Inline markup content (<Strong>, <Emphasis>, etc.) is no longer silently dropped during text extraction
    • Added P3 (sub-sub-paragraph) support to the XML parser array configuration
    Downloads