diff options
| author | Nicholas Johnson <> | 2026-09-18 00:00:00 +0000 |
|---|---|---|
| committer | Nicholas Johnson <> | 2026-09-18 00:00:00 +0000 |
| commit | 7a51b9a97b2d618e6b006f1a3b6a0ebd4acd51888af95e670662cf5655fffb3a (patch) | |
| tree | 15ceb7dcaba9eee32a6374c22d329361ac9497088089c7b636c0c22351c8911f /exampleSite | |
| parent | f7010449afad2fea6da148330d201529ccc2d65ce50e31083d605c5733c4afa2 (diff) | |
| download | hugo-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 'exampleSite')
0 files changed, 0 insertions, 0 deletions
