Merged
Conversation
Refactor HTML-to-DOCX with centralized styles and test coverage
The <del> HTML element represents text that has been deleted from a document. Like the existing <s> tag support, this maps to the font.strike property in python-docx. This is consistent with HTML semantics where both <del> and <s> represent struck-through text.
Adds support for two HTML5 semantic elements: 1. <ins> tag - represents inserted text, rendered with underline - Added to FONT_STYLES mapping to 'underline' (same as <u>) 2. <mark> tag - represents highlighted text, rendered with yellow background - Uses w:shd shading element with yellow (#FFFF00) fill color - Consistent with the package's existing background-color mechanism These tags are commonly used in markdown-to-HTML converters and document editing applications.
Co-authored-by: chrisonntag <5236298+chrisonntag@users.noreply.github.com>
Co-authored-by: chrisonntag <5236298+chrisonntag@users.noreply.github.com>
…itions Support CSS3 break-after:page alongside deprecated CSS2 page-break-after:always
feat: support CSS3 break-after:page
Add Security Audit to CI
…span Bug/handle invalid rolspan and colspan
feat: add strikethrough support for <del> tag
feat: add support for <mark> (highlight) and <ins> (underline) tags
[Bug] Tag Style Overrides Fix for Pre/Code tags
Fix Python 3.7>= x <3.10 support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.