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. |
||
|---|---|---|
| .. | ||
| e2e | ||
| fixtures | ||
| unit | ||