Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

"Fun" with soft hyphens

Edited

I create PDF documents from my Confluence pages.

Now, I recognized that text in table cells is sometimes broken in mid-sentence like here on this screenshot in "tempera-ture" and "de-pend-ent":

2021-12-30 12_22_05-Manual_LCO_NF_C_PRE3_en.pdf - Adobe Acrobat Pro DC (32-bit).png

I want to get rid of this and I already know the reason for this. It is soft hyphens in the page's source code (the "­" in between words) . The part with the word "de-pend-ent" looks like this, for example:

Device de­pend­ent (maxi­mum 127 °C)

Two questions:

  1. How can I get rid of these soft hyphens?
  2. How can I make sure I don't get them in the first place?

 

1.
If I go in "Edit" mode of the Confluence page (left) or open the source code in the Firefox Developer Tools (right), the soft hyphens are not displayed at all.

Hence, no chance to grab and delete them.

2021-12-30 12_27_01-LCO NF C PRE3 - Functions - ETM_NTC - Beschreibung - Technical World of Knowledg.png

The only way to detect and show them is to open the source code in the Firefox Developer Tools and then also click "Edit HTML". 
If I do this, the part with "de-pend-ent" looks like this: the soft hyphens are displayed as little red dots:


2021-12-30 12_27_51-LCO NF C PRE3 - Functions - ETM_NTC - Beschreibung - Technical World of Knowledg.png

So, opening the whole page in this specific HTML display and then search for little red dots, is the best way I know at the moment.

 

2.
How do these soft hyphens (unintentionally) get in the source code?

Is there a shortcut to enter them, a setting to automatically create them or can they infect a page when text is copied from Word or some other source?

Does anybody know?

1 answer

1 vote
Fabian Lim Community Leader Jan 03, 2022

Hi @Steffen Heller

I would ccopy from the source and paste the text into notepad to remove all formatting and paste it back to confluence.

Not ideal if you have a lot of content, but it's better than having to go to the developers tool to edit.

Regards

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

983 views 7 42
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