feat(html): Support formatting tags in HTML texts (#2111)

* add parsing for formatting tags in HTML backend

Signed-off-by: Roman Kayan BAZG <roman.kayan@bazg.admin.ch>

fix latest tests + wiki_duck result files.

Signed-off-by: Roman Kayan BAZG <roman.kayan@bazg.admin.ch>

* convert _collect_parent_format_tags to staticmethod

Signed-off-by: Roman Kayan BAZG <roman.kayan@bazg.admin.ch>

---------

Signed-off-by: Roman Kayan BAZG <roman.kayan@bazg.admin.ch>
This commit is contained in:
krrome
2025-08-22 10:37:34 +02:00
committed by GitHub
parent e76298c40d
commit 94fcc46aa9
15 changed files with 9420 additions and 4456 deletions

View File

@@ -7,4 +7,7 @@ item-0 at level 0: unspecified: group _root_
item-6 at level 1: section: group details
item-7 at level 2: text: Heading for the details element
item-8 at level 2: text: Description of the details element.
item-9 at level 1: text: This is a fourth div with a bold paragraph.
item-9 at level 1: inline: group group
item-10 at level 2: text: This is a fourth div with a
item-11 at level 2: text: bold
item-12 at level 2: text: paragraph.