mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-26 03:17:28 -06:00
A few hundred KB of `*[`, `, `<` (for `>`) and `&` (for `;`). Bracket and destination scans now share a per-paragraph look-ahead budget, tags are searched within 4 KB and entity names within 33 bytes. - HTML `unescape` searched the whole remaining text for `;` after every stray `&`; it now looks only at the first 33 bytes. - The Markdown/HTML-to-document step appended every inline through `insert_text`, which rescans all earlier runs, so a paragraph with thousands of runs took quadratic time on its own. It now appends runs directly and normalises once. Ordinary links, images, tags and entities read as before. Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>