mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-08 20:58:11 +00:00
feat(html): Support in-line anchor tags in HTML texts (#1659)
* re-implement links for html backend. Signed-off-by: Roman Kayan BAZG <roman.kayan@bazg.admin.ch> * fix inline groups in list items. write specific test for find_parent_annotation of _extract_text_and_hyperlink_recursively. Signed-off-by: Roman Kayan BAZG <roman.kayan@bazg.admin.ch> * implement hack for images. 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:
11
tests/data/groundtruth/docling_v2/hyperlink_05.html.md
vendored
Normal file
11
tests/data/groundtruth/docling_v2/hyperlink_05.html.md
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
Image Hyperlink.
|
||||
|
||||
<!-- image -->
|
||||
|
||||
This is an example caption for the image.
|
||||
|
||||
<!-- image -->
|
||||
|
||||
This is an example caption for the image.
|
||||
|
||||
<!-- image -->
|
||||
Reference in New Issue
Block a user