Files
docling/tests/data/md/escaped_characters.md
Cesar Berrospi Ramis 86eaef5b45 fix(md): handle pipe symbols that are not table markers (#2904)
* fix(md): handle pipe symbols that are not table markers

Signed-off-by: Cesar Berrospi Ramis <ceb@zurich.ibm.com>

* chore: update uv.lock with latest docling-core 2.60.2

Update uv.lock file with the latest release of docling-core (2.60.2).
Update (fix) ground truth files for testing markdown serialization to be
in sync with the serialization fix (issue 2880).

Signed-off-by: Cesar Berrospi Ramis <ceb@zurich.ibm.com>

---------

Signed-off-by: Cesar Berrospi Ramis <ceb@zurich.ibm.com>
2026-01-23 15:19:09 +01:00

867 B
Vendored

Headers:

& < > " '

Text: 00:16.000 ----> 00:18.000 & < > " '

Lists

  1. & < > " '
  • & < > " '

Inline code

&amp; &lt; &gt; &quot; &#39;

Code block

&amp; &lt; &gt; &quot; &#39; 

Table

Key Example
Ampersand &
Less-than <
Greater-than >
Quotes "
Apostrophes '
Pipe | | |

The pipe symbol (| or |) only needs to be escaped in tables.

Raw HTML

& < > " '/div>

& < > " '