Skip to content

Conversation

@stanislaw
Copy link
Collaborator

WHAT:

The upstream JS library has fixed the following issue:

If a paragraph contains only a single bold text fragment and the rest of the text is not wrapped, the strong:only-child selector still matches. This is a known limitation and is currently not solved at the html2pdf level.

WHY:

This fixes a user bug report:
strictdoc-project/strictdoc#2593 (reply in thread)

HOW:

WHAT:

The upstream JS library has fixed the following issue:

If a paragraph contains only a single bold text fragment and the rest of the
text is not wrapped, the strong:only-child selector still matches. This is a
known limitation and is currently not solved at the html2pdf level.

WHY:

This fixes a user bug report:
strictdoc-project/strictdoc#2593 (reply in thread)

HOW:

- mettta/html2pdf4doc#174
- mettta/html2pdf4doc#177
@stanislaw stanislaw merged commit 3c452d4 into main Dec 21, 2025
8 checks passed
@stanislaw stanislaw deleted the stanislaw/mutation branch December 21, 2025 11:07
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.

2 participants