Hello,
I am finding few exciting hyphenation patterns using below hyphenation properties for running text:
prince-hyphenate-before: 2;
prince-hyphenate-after: 3;
The problem is, it works fine if the word is without any puncuation, but if a puncuation is present before or after the word, the hyphenated word looks weird.
eg:
<p>text text text text (T-
able 3 shows text text text.</p>
OR
<p>text text “text text Chapte-
r.”</p>
OR
<p>text text text—tex-
t—text text text.</p>
Is there any way to hyphenate only words excluding punctuation?
I am finding few exciting hyphenation patterns using below hyphenation properties for running text:
prince-hyphenate-before: 2;
prince-hyphenate-after: 3;
The problem is, it works fine if the word is without any puncuation, but if a puncuation is present before or after the word, the hyphenated word looks weird.
eg:
<p>text text text text (T-
able 3 shows text text text.</p>
OR
<p>text text “text text Chapte-
r.”</p>
OR
<p>text text text—tex-
t—text text text.</p>
Is there any way to hyphenate only words excluding punctuation?