Skip to content

Omit empty paragraphs in tagged PDF output#7130

Merged
laurmaedje merged 2 commits intomainfrom
weak-pars
Oct 15, 2025
Merged

Omit empty paragraphs in tagged PDF output#7130
laurmaedje merged 2 commits intomainfrom
weak-pars

Conversation

@saecki
Copy link
Member

@saecki saecki commented Oct 13, 2025

Empty paragraphs should always be result of breaking up tags or hidden content being omitted. They don't have a semantic meaning, and shouldn't be written.

This depends on #7092, because otherwise there would be a conflict :/

@saecki saecki force-pushed the tag-tree-text-attrs branch from 4bf1ca9 to f9a3b5e Compare October 14, 2025 12:05
Base automatically changed from tag-tree-text-attrs to main October 14, 2025 14:11
Empty paragraphs should always be result of breaking up tags, or hidden
content being omitted. They don't have a semantic meaning, and shouldn't
be written
@laurmaedje laurmaedje enabled auto-merge October 15, 2025 08:46
@laurmaedje laurmaedje added this pull request to the merge queue Oct 15, 2025
Merged via the queue into main with commit ff0532e Oct 15, 2025
16 checks passed
@saecki saecki deleted the weak-pars branch October 15, 2025 10:04
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