diff options
| author | Andras Timar <andras.timar@collabora.com> | 2026-03-28 14:02:18 +0100 |
|---|---|---|
| committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2026-04-21 12:07:46 +0200 |
| commit | 0d9010656e3f75f6a88f6478ad7e24520119a9d3 (patch) | |
| tree | 3d8cc2f084d5a35a17f274d7d326ec620ca101b8 /icon-themes/tango/cmd/sc_symbolshapes.right-bracket.png | |
| parent | 5845db6b43d0ddb7bc5949b746593e915bc2b08b (diff) | |
tdf#124339 fix HTML import of nested lists with mixed ol/ul types
When HTML contains sibling nested lists at the same depth but with
different types (e.g., an <ol> followed by a <ul> inside the same
parent list), the second nested list incorrectly inherited the first
list's numbering type. This happened because a single SwNumRule was
shared across the entire list hierarchy, and once a level's format
was set, it was never updated for a different list type.
Fix by detecting when a nested list's type conflicts with the existing
format at that level, creating a new SwNumRule with parent-level
formats copied over, and restoring the original rule when the nested
list closes.
Change-Id: I4544baa95a390ef67d9ef217ae9e75bc7874918d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202904
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
(cherry picked from commit ef6ccc9fbda93f498f3e9a41dc2fd7a0e4340e71)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203810
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'icon-themes/tango/cmd/sc_symbolshapes.right-bracket.png')
0 files changed, 0 insertions, 0 deletions
