Resolve links inside special blocks and captions !15

merged merged by cmc on 2026-10-21 06:00 UTC · krz/orgo:fix-special-block-links into main

Discussion

cmc

Cx::element in src/resolve.rs had no arm for SpecialBlock, Figure captions, or table captions, so file: links there were emitted with their source paths and never checked under --strict. Added those arms.

Verse blocks still have the gap: VerseBlock stores raw lines and inline-parses them at render time, after resolution. Not changed here.

New test links_inside_blocks_resolve_and_are_checked in tests/site.rs; fails before the change. cargo test --locked, cargo clippy --all-targets --locked -- -D warnings, and cargo run --locked -- build docs --strict pass.

Closes #5