Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-7262

Can't escape double-backslash (like '\\') in wiki markup editor

XMLWordPrintable

      Very simple task, but without some obvious solution:
      
      In WikiMarkup editor, is there any way to type "\\" in the middle of a sentence? For example, what should I type to get:
      
      My name is \\peter\\.
      
      Even when you use RichTextEditor and type in this sentence, Confluence pretends to be smart and produces funny results. Switch several times from WikiMarkup to RTE back and forth and the results are even funnier.
      
      OK, I know that "\\" stands for line break. But I don't want a line break, I just want plain vanilla backslashes (don't ask why is this so important to me). I have tried with "\\\", "\\\\", ended with "\\\\\\\\"... without desired result.
      
      Some other simple text constructs are also tricky. What should I type into the RTE or WME to get:
      
      My name is {{peter}}.
      
      Don't try (in WME):
      
      ... \{\{peter\}\}
      
      'cause it does not work. And RTE does not help with this. In fact, it looks like RTE works like "what you see is what you get... almost".
      

              smansour Sherif Mansour
              786c62d4e2ca Sasa Markovic
              Votes:
              9 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: