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

How to insert a hard dash (non-breaking dash)?

Hi, I need to use non-breaking dashes in our product names, since most of them start with R-... and we don't want that hanging at the end of the the line. 

I found how to insert a non-breaking space, but not how to insert a non-breaking dash. Can you help?

Thanks!

2 answers

You could always insert the unicode character non-breaking-hyphen (u+2011). To try it out, you can just copy the character ‑ and paste it. That should avoid a line break. Example:

this‑sentence‑will‑result‑in‑a‑very‑long‑line‑but‑because‑it‑uses‑non‑breaking‑dashes‑it‑will‑probably‑be‑line‑broken‑in‑the‑middle‑of‑a‑word‑or‑not‑at‑all.

vs

this-sentence-will-result-in-a-very-long-line-but-because-it-uses-normal-dashes-it-will-most-probably-be-line-broken-just-after-a-dash.

How do you insert a unicode character by the code when editing a Confluence page?

Like rolland_vandersluis likes this

Thanks, copying and pasting that character "‑" worked for me!

Maybe non-breaking-spaces before and after the dash will fit your requirement. Of course only if having a space bevore and after the dash is an option. 

Best, Eugen

I also need a non-breaking dash!

the non-breaking space is essential for referencing Standards such as IEC 61850 whee the space is mandatory but annoying when it is at the end of a line (perhaps as a result of zooming the screen).

but that Standard has many sub parts such as IEC 61850-7-4 so I need a non-breaking dash.

I have just found the non-breaking Space symbol as <<+Insert>> then <<Symbol>> ... although a bit annoying it is so hard to get to compared to a keyboard short cut like in Word where I press Ctrl+Shift+Space

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

78 views 1 6
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