Skip to content

Release/1.1.4#68

Merged
dfop02 merged 29 commits intomainfrom
release/1.1.4
Feb 27, 2026
Merged

Release/1.1.4#68
dfop02 merged 29 commits intomainfrom
release/1.1.4

Conversation

@dfop02
Copy link
Owner

@dfop02 dfop02 commented Feb 27, 2026

No description provided.

dfop02 and others added 29 commits December 16, 2025 19:15
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
…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
@dfop02 dfop02 merged commit 0ed9426 into main Feb 27, 2026
6 checks passed
@dfop02 dfop02 deleted the release/1.1.4 branch February 27, 2026 21:52
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.

4 participants