]> git.lyx.org Git - lyx.git/commit
DocBook: fix closing formatting after deleted text.
authorThibaut Cuvelier <tcuvelier@lyx.org>
Sat, 7 Oct 2023 23:39:45 +0000 (01:39 +0200)
committerScott Kostyshak <skostysh@lyx.org>
Tue, 10 Oct 2023 13:57:17 +0000 (09:57 -0400)
commit78b157b61eefc36c1c837a724f0cb067fe40f172
treea158bb877a169fb9e7e8c75c9014767dd612f629
parentb9fc4bae44ca8f41b636101909ef0596bf2d4def
DocBook: fix closing formatting after deleted text.

Previously, when closing font tags, only the previous character's font was used. However, if that character is deleted, it had no change of having the right font tags opened/closed. Hence, look further to compare the font of the current character to output with the font of the previously output character.
autotests/export/docbook/tracking_formatting.lyx [new file with mode: 0644]
autotests/export/docbook/tracking_formatting.xml [new file with mode: 0644]
src/Paragraph.cpp