Skip to content

Conversation

@ceberam
Copy link
Collaborator

@ceberam ceberam commented Sep 19, 2025

This PR add a flag in the serialization of a DoclingDocument into markdown format to decide whether to escape reserved HTML characters (default) or not.

Resolves #387

Signed-off-by: Cesar Berrospi Ramis <ceb@zurich.ibm.com>
@ceberam ceberam self-assigned this Sep 19, 2025
@github-actions
Copy link
Contributor

DCO Check Passed

Thanks @ceberam, all your commits are properly signed off. 🎉

@dosubot
Copy link

dosubot bot commented Sep 19, 2025

Related Documentation

Checked 2 published document(s). No updates required.

You have 5 draft document(s). Publish docs to keep them always up-to-date

How did I do? Any feedback?  Join Discord

@codecov
Copy link

codecov bot commented Sep 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@mergify
Copy link

mergify bot commented Sep 19, 2025

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?(!)?:

Copy link
Contributor

@dolfim-ibm dolfim-ibm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

@PeterStaar-IBM PeterStaar-IBM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@ceberam ceberam merged commit dd6ebc3 into main Sep 22, 2025
12 checks passed
@ceberam ceberam deleted the fix/html-escape-in-md branch September 22, 2025 08:14
@dosubot
Copy link

dosubot bot commented Sep 22, 2025

Documentation Updates

Checked 2 published document(s). No updates required.

You have 5 draft document(s). Publish docs to keep them always up-to-date

How did I do? Any feedback?  Join Discord

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add option to disable HTML escaping in Markdown serializer

4 participants