diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-05 05:29:05 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-05 05:29:05 -0500 |
| commit | 718775cdf2baf7b6a2ed09edaa07d5684d47c4a9 (patch) | |
| tree | c82a1a923ba003877df676370515bfc724e20f12 /test-from-git | |
| parent | fd658b166a8dcf716c82cca28f370990a9df83af (diff) | |
| download | org-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
