How can I write foo\bar using JIRA markup? The backslash is an escape character and the double backslash does not appear to be rendered as a single backslash.
https://jira.atlassian.com/browse/JRA-9258describes a workaround using the HTML escape code \ but I don't consider this to be a resonable solution.
This is a serious bug. If Jira has a WYSIWYG editor, it should be really WYSIWYG, and not just make a half-hearted attempt at it. (It should automatically escape all characters as needed, so that what you type is really what gets shown on the page.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OP stated
{Quote}https://jira.atlassian.com/browse/JRA-9258describes a workaround using the HTML escape code \ but I don't consider this to be a resonable solution{quote}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
actually, the above didn't work for me. this did:
¯\\_(ツ)\_/¯
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
for the shruggie enthusiasts
¯\\_(ツ)\_/¯
UPDATE:
¯\_(ツ)_/¯
It appears you can just type it out now. NO NEED TO REPLY TO THIS THREAD.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is the exact reason I was trying to find out how to escape a backslash without a newline. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This worked for me:
{code}
¯\_(ツ)_/¯
{code}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If it's a special text (like a directory) you could use
{noformat} foo\*.txt {noformat}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK, than I only know the already mentioned method in JRA-9258.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are many cases where symbols follow \ and the \ cannot be displayed.
I've wasted too much time with this trying to find workarounds that look terrible if they work at all.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any working solution? I have to escape apostrophe (') and failed to find a way so far. I have to write "Won't do" in the conditional execution field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
UPDATE: Initially I picked the wrong example. As pointed out by Henning, foo\bar works fine. foo\*.txt doesn't though.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
*foo\bar*
IMO there is no need to escape something...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
{ need to be escaped afaik..otherwise a line break will appear :(
i mean like blablabla{1,2}
this will be saved as
blablabla
{1,2}
blablabla\{1,2\} will show up correctly
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, but *foo\bar* is working perfectly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, it works. It seems that I picked the wrong example. Try foo\*.txt. This will not work.
In this case:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.