Fix metadata leak and paragraph spacing in legal side panel

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

- Fix uitspraak/conclusie regex to match tags with attributes (e.g.
  id="..."), preventing fallback to full XML which leaked Dublin Core
  metadata into the displayed text
- When fallback is unavoidable, strip known metadata elements first
- Remove prose-p:my-2 override (was shrinking default spacing); use
  prose-p:mb-4 for more breathing room between paragraphs
- Increase heading top margins for clearer section separation

https://claude.ai/code/session_016JxWnFc3baeDgkzDgxY6ex
Repository Jeroen1991z/mikeNL
Author Claude <noreply@anthropic.com>
Authored
Committed
Parents fe1f464a
Stats 2 files changed , +16 , -7
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-e1d9a9e0.md from inside the repo you want the change in.

⬇ Download capture-commit-e1d9a9e0.md