What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 130 Stack Exchange communities.
`\`

should be rendered as an escaped backslash but it actually ends up displayed as an escaped backtick.

share|improve this question
    
Just to test the rendering: ``. –  Robert Munteanu Jul 31 '09 at 13:36
    
Looks like \` just escapes the backtick and prevents it from forming a code section. What's wrong with that? Escaping is good! –  XMLbog Jul 31 '09 at 13:45
5  
Note, to form the output \` I needed the following sequence: backtick, backslash, backslash, backtick, backtick. Which makes sense. I'm escaping the backslash so that it doesn't escape the backtick, and enclosing both the slash and backtick in a code section. –  XMLbog Jul 31 '09 at 13:47
2  
@Toronto: The problem is not the escaping convention. The problem is that one needs a different escaping convention in comments to that used for the body of qns&answers. –  Charles Stewart Oct 5 '10 at 8:10
1  
@ALLCAPS: I think this is not quite the correct explanation: In comments, the backslash doesn't need an escape (in fact, it can't be escaped), and the 2nd backslash does escape the backtick. In other words: Since a backtick needs to be escaped with a backslash, you need to type another backslash. –  Hendrik Vogt Jan 24 '11 at 16:24
    
@Stijn Jeff posted an answer at the same time he added the status-declined tag, stating that XMLbog's reasoning meant that the current behavior is correct. He deleted his answer after Hendrik Vogt's comment. –  Gilles Jul 3 at 9:38
    
@Gilles ah, that clears it up then. But it's still a bug, right? No matter what I try, I'm not able to get it right. –  Stijn Jul 3 at 9:44
2  
@Stijn enjoy and when marking a bug as "by design" it's the same as declining a feature request i.e. "that's how the system works and we're not going to change it". But then of course, the team is now very different, they might change their (Jeff's :-)) mind. :) –  Shadow Wizard Jul 3 at 10:20

1 Answer 1

But it is a pain and not obvious for the tex.stackoverflow.com

Since the same sequence is rendered differently in the question/answer vs comment.

Please see

http://meta.tex.stackexchange.com/questions/168/backslash-in-ticks-in-comments

with transcripts on tests in question vs comments.

How come it is bydesign that questions and comments are treated differently with the same syntax?

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .