PDF Export: Word-wrap


Exporting part of a space to PDF, text formatted as hyperlinks breaks randomly at the end of a line. (For example, the link text Source: BBC breaks after the first B, leaving just the letters BC on the next line).

I have tried editing the PDF stylesheet, but

div { 
    word-wrap: normal; 

doesn't make any difference. My aim is to stop word breaks occuring at all.

2 answers

1 accepted

I think this is the same problem as described at https://jira.atlassian.com/browse/CONF-26230

I have also had problems with word breaks but haven't really tried to solve them. Perhaps you want to try the proposed workaround and give your feedback here.

Thank you, that sorted it. For the benefit of anyone else who has this problem, it seems to be

.wiki-content p {
    word-wrap: normal;

which sorted it. My stylesheet already had a variation of

body, p, li, td, table, tr, .bodytext, .stepfield {
    word-wrap: normal;

but that didn't resolve the error.

Something went wrong with my pdf reader. I wanna convert pdf to text first. Any suggestion will be appreciated. Thanks in advance.


Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,891 views 25 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you