Commit 8feb09f
authored
fix: markdown serialization of hyperlink with code (#434)
* chore: leverage fixtures in tests and add type annotations
Use fixtures for sample DoclingDocument in tests.
Add missing function type annotation when the body contains annotations.
Signed-off-by: Cesar Berrospi Ramis <[email protected]>
* fix(markdown): serialize hyperlink as code always with single backticks
Signed-off-by: Cesar Berrospi Ramis <[email protected]>
---------
Signed-off-by: Cesar Berrospi Ramis <[email protected]>1 parent 3fe8b5a commit 8feb09f
File tree
15 files changed
+725
-633
lines changed- docling_core
- transforms
- chunker/code_chunking
- serializer
- types/doc
- test
- data/doc
15 files changed
+725
-633
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
215 | 217 | | |
216 | 218 | | |
217 | 219 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6138 | 6138 | | |
6139 | 6139 | | |
6140 | 6140 | | |
6141 | | - | |
| 6141 | + | |
6142 | 6142 | | |
6143 | 6143 | | |
6144 | 6144 | | |
| |||
6152 | 6152 | | |
6153 | 6153 | | |
6154 | 6154 | | |
6155 | | - | |
| 6155 | + | |
6156 | 6156 | | |
6157 | 6157 | | |
6158 | 6158 | | |
| |||
6184 | 6184 | | |
6185 | 6185 | | |
6186 | 6186 | | |
6187 | | - | |
| 6187 | + | |
6188 | 6188 | | |
6189 | 6189 | | |
6190 | 6190 | | |
| |||
0 commit comments