Format article lids properly; remove broken wetten.overheid.nl link

↗ view on GitHub · Claude · 2026-05-05 · ee87b225

Backend: replace plain-text article extraction with XML-aware parsing.
findArticleXml() locates the <artikel> by matching <nr>. formatArticleXml()
extracts each <lid> with its <lidnr> number, renders them as separate
markdown paragraphs (**1** text\n\n**2** text) so lids appear with
blank lines between them as on wetten.overheid.nl.

Frontend: clickable title link only shown for case law (rechtspraak.nl
URLs are reliable); legislation title is plain text since the article
fragment URL format cannot be reliably constructed.

https://claude.ai/code/session_016JxWnFc3baeDgkzDgxY6ex
Repository Jeroen1991z/mikeNL
Author Claude <noreply@anthropic.com>
Authored
Committed
Parents 7161f2c8
Stats 2 files changed , +79 , -11
Part of Legal citation side panel (full-text reader with quote highlight)

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-ee87b225.md from inside the repo you want the change in.

⬇ Download capture-commit-ee87b225.md