akkoma-fe/test
Oneric c7d7fd5fdd
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
rich_content: overhaul spacing around mentions
The old code was inconsistent about when the mention line state and
remembered spacing were reset as well as failing to add necessary
whitespace if a mention line was immediately succeeded by a plain text node.
The latter was kludgily fixd for a particular special case with the
last-child exception to whitespace trimming. (However this could en up
to retaining superfluous undesireable space in other cases)

This led to sometimes space being added "back" several times
notably leading to one extra, empty line in blockquote elements
succeeding mentions with whitespace. This stalled the otherwise
unrelated #412

Now we always reset the mention chain and remembered spacing together
and also add back spacing in front of plain text nodes if appropriate
obsoleting the last-child exception.
2026-04-14 00:00:00 +00:00
..
e2e upgrade babel-register 2019-12-11 14:22:11 +05:00
fixtures #436: update test 2019-03-14 22:36:11 -04:00
unit rich_content: overhaul spacing around mentions 2026-04-14 00:00:00 +00:00