aboutsummaryrefslogtreecommitdiff
path: root/layouts/_partials/footer.gmi
diff options
context:
space:
mode:
authorNicholas Johnson <>2026-09-18 00:00:00 +0000
committerNicholas Johnson <>2026-09-18 00:00:00 +0000
commit7a51b9a97b2d618e6b006f1a3b6a0ebd4acd51888af95e670662cf5655fffb3a (patch)
tree15ceb7dcaba9eee32a6374c22d329361ac9497088089c7b636c0c22351c8911f /layouts/_partials/footer.gmi
parentf7010449afad2fea6da148330d201529ccc2d65ce50e31083d605c5733c4afa2 (diff)
downloadhugo-theme-journal-7a51b9a97b2d618e6b006f1a3b6a0ebd4acd51888af95e670662cf5655fffb3a.tar.gz
hugo-theme-journal-7a51b9a97b2d618e6b006f1a3b6a0ebd4acd51888af95e670662cf5655fffb3a.zip
Fix preformatted text opening an entry being treated as prose
The chunking regex required at least one character before a preformatted block, so a block starting on the first line of an entry could never match the preformatted branch and fell through to the prose branch. Its contents were then run through the prose substitutions: asterisks were stripped, ordered list items were rewritten as unordered ones and links were turned into references, inside text that must be reproduced verbatim. Allow the leading segment to be empty. Blocks elsewhere in an entry, multiple blocks and reference numbering are unaffected. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'layouts/_partials/footer.gmi')
0 files changed, 0 insertions, 0 deletions