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 do I stop Jira from automatically putting strikethrough formatting on text surrounded by hyphens Edited

I am writing  acceptance criteria for a user story where we need to replace a string "-xx-xx-xx-xx" with a string "-xx-1-xx-xx". If I put any kind of text formatting on the "xx" and the "1" to highlight that 'these are the things that are changing', then the text on saving is changed to strikethrough formatting.

 

I literally cannot create the acceptance criteria as I would like to because of the markup Jira uses to do text formatting. It seems this person was having the same issue, and discovered that this is actually expected behavior, although it is highly undesirable in my case.

https://community.atlassian.com/t5/Questions/Issue-Comments-have-random-strike-throughs-of-text-how-to-fix/qaq-p/21858

 

How can I stop Jira from transforming this text to strikethrough?

 

Thanks.

1 answer

1 accepted

0 votes
Answer accepted
Ben Poulson Community Leader Feb 15, 2019

You can use the backslash character as an escape character in Jira markdown. Example:

 

\-No Strikethrough\-

 displays as -No Strikethrough-

Thank you, that worked. :)

Like Ben Poulson likes this

This doesn't help much with cut and paste if you have to go back and edit to reinsert and escape all the dashes.  I would rather ask for strikethrough if i want it since it's not used very often.   Confluence has a way to disable autoformatting.  I haven't been able to find a similar setting for the Jira editor.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

314 views 1 3
Join discussion

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