It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

PDF Export: Word-wrap

Training7 Jan 13, 2014

Problem:

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

0 votes
Answer accepted
Steffen Heller Jan 13, 2014

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.

1 vote
Training7 Jan 13, 2014

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.

salvatore Feb 23, 2016

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

913 views 0 19
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you