diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-01-24 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-01-24 00:00:00 +0000 |
commit | 3fb3e566afd980915e0b95022aa18c87eedb0438a36c8f8e6b9e03d0386dd360 (patch) | |
tree | 04090b3b5b318ee7c2ea3d34f8afd0d04b1af96dbc7f0b25ddaa3123605a779f /layouts/_default/_markup/render-link.html | |
parent | 8cf654fae391eb99d75a9d89750ec7acf1cd5fad60f60846adf2265fd868bb18 (diff) | |
download | hugo-theme-journal-0.3.0.tar.gz hugo-theme-journal-0.3.0.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 'layouts/_default/_markup/render-link.html')
0 files changed, 0 insertions, 0 deletions