3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-20 07:05:44 +01:00

Count a stripping run only between its non-blank leaves, so the trim takes two passes over alternating code and emphasized blanks

This commit is contained in:
2026-11-15 14:17:20 +01:00
committed by Lillem4n
parent 14b5680304
commit 08abdd117f
7 changed files with 158 additions and 81 deletions
+1
View File
@@ -2,6 +2,7 @@
## Unreleased
- `adfToPortableMarkdown` writes a line of code spans alternating with emphasized spaces in time linear in its length, where `0.3.1` took time quadratic in it.
- `adfToHtml` writes a media single, a media group and a caption as `<figure class="adf-media-single">` holding an
`<img>` and a `<figcaption>`, and as `<div class="adf-media-group">` of `<span class="adf-file">` files, where
`0.3.1` wrote the carry element, and `htmlToAdf` reads them back. A link around the image is the media's link