aboutsummaryrefslogtreecommitdiff
path: root/test-from-git
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-05 05:29:05 -0500
committerCraig Jennings <c@cjennings.net>2026-05-05 05:29:05 -0500
commit718775cdf2baf7b6a2ed09edaa07d5684d47c4a9 (patch)
treec82a1a923ba003877df676370515bfc724e20f12 /test-from-git
parentfd658b166a8dcf716c82cca28f370990a9df83af (diff)
downloadorg-drill-718775cdf2baf7b6a2ed09edaa07d5684d47c4a9.tar.gz
org-drill-718775cdf2baf7b6a2ed09edaa07d5684d47c4a9.zip
fix: keep cloze regex within a single line (upstream #38)
The inner match was [[:cntrl:][:graph:][:space:]]+?, which silently includes newline. A stray [ could match all the way to a ] several lines later, covering org headings in between with the visible-cloze face. Reporter saw lines 4 and 5 of test.org lose their org-level-N face and use default instead. Switched the inner class to [^\n]+?. Clozes now stay within a single line, which matches the design intent and stops the face bleed. Three new tests cover the regression.
Diffstat (limited to 'test-from-git')
0 files changed, 0 insertions, 0 deletions