diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-14 01:27:17 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-14 01:27:17 -0500 |
| commit | 951b6fc63129577a80e1d46f46eeafff005fe636 (patch) | |
| tree | b5ecd33ae60971ad23448d4b20ef1e3edf488923 /claude-rules/working-files.md | |
| parent | f573c35885583900e3e319cea384606c4e0321cf (diff) | |
| download | rulesets-951b6fc63129577a80e1d46f46eeafff005fe636.tar.gz rulesets-951b6fc63129577a80e1d46f46eeafff005fe636.zip | |
fix(scripts): stop org table helpers rewriting block content
Both helpers treated any pipe-led line as a table row, so ASCII art in an example block got mangled into a bordered table (a work file took a 1949-line reformat on 2026-07-09). The scanners now track the open block's type and skip its content. Only the matching end marker closes a block, so a literal end_src quoted inside an example block can't re-expose it.
The deeper cause was wrap-org-table's load-time dispatch: it fired when lint-org merely required the library, running the reformatter over files lint-org was only asked to report on. It now dispatches only when named as the entry script. lint-org's CLI is also report-only by default now. Writes require --fix, and the wrap-up workflow and lint command pass it.
Diffstat (limited to 'claude-rules/working-files.md')
0 files changed, 0 insertions, 0 deletions
