Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#60431] Hyphenation feature in generated pdf files removes space before italic text #17543

Conversation

as-op
Copy link
Contributor

@as-op as-op commented Jan 7, 2025

Ticket

https://community.openproject.org/work_packages/60431

What are you trying to accomplish?

Fix the removal of spaces when hyphenation is turned on

Screenshots

Before
before

After
after

What approach did you choose and why?

Hyphenation library expects words not full strings. So we use the hyphenate method of the md-to-pdf gem, which also does a splitting.

@as-op as-op added the bugfix label Jan 8, 2025
@ulferts ulferts merged commit d36b284 into dev Jan 8, 2025
13 checks passed
@ulferts ulferts deleted the bug/60431-hyphenation-feature-in-generated-pdf-files-removes-space-before-italic-text branch January 8, 2025 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants