aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2023-01-24 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2023-01-24 00:00:00 +0000
commit3fb3e566afd980915e0b95022aa18c87eedb0438a36c8f8e6b9e03d0386dd360 (patch)
tree04090b3b5b318ee7c2ea3d34f8afd0d04b1af96dbc7f0b25ddaa3123605a779f /assets
parent8cf654fae391eb99d75a9d89750ec7acf1cd5fad60f60846adf2265fd868bb18 (diff)
downloadhugo-theme-journal-3fb3e566afd980915e0b95022aa18c87eedb0438a36c8f8e6b9e03d0386dd360.tar.gz
hugo-theme-journal-3fb3e566afd980915e0b95022aa18c87eedb0438a36c8f8e6b9e03d0386dd360.zip
Rewrite Gemini chunk and link parsing logicv0.3.0
Improved the chunk-finding regex and added safeguards to prevent unintended behavior. Chunk rendering logic had a bug. If the pre-formatted text was identical to the regular text, it would be wrongly overwritten. To resolve this, the find-and-replace-style logic was removed. The new logic splits chunks into parts, renders them, then reassembles them in in order.
Diffstat (limited to 'assets')
0 files changed, 0 insertions, 0 deletions