danfickle / danfickle/openhtmltopdf

Prevent line break after comma / dot / special characters

Open
#757 6 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Java
Stars
2.2k
Forks
423
PR merge metrics
No merged PRs in 30d

Description

Hi,
Its work fine when tested in https://sandbox.openhtmltopdf.com/?file=page-features.htm
But, it doesn't work in my project.

Text example:
There are 10 apples which cost $150,000 and 20 pineapples which cost $288,888.

Expected result:
There are 10 apples which cost $150,000
and 20 pineapples which cost $288,888.

But the result what I get is:
There are 10 apples which cost $150,
000 and 20 pineapples which cost $288,
888.

Can give me a real/workaround solution?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.