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

This answer of mine has some italicized words containing underscores in the first line. These look good in the preview, but in the answer they appear non-italicized with surrounding asterisks.

Is this a known bug, and is there a workaround?

share|improve this question

2 Answers 2

up vote 12 down vote accepted

Workaround - write the italics tag yourself. For example:

Use <i>attr_accessor</i> to add attributes

produces:

Use attr_accessor to add attributes

Ugly, but it works.

As for whether it's a known bug - it's known now ;) (Things like this are fundamentally tricky for markdown, unfortunately.)

share|improve this answer
    
Thanks, that works indeed. –  Lars Haugseth Jul 10 '09 at 10:25
6  
Alternatively, escape the underscore: *this\_works as well*: this_works as well –  Abel Nov 17 '09 at 0:39
    
Ugly? UGLY?!?!?! HTML is beautiful. –  bjb568 Apr 6 at 23:38

The server-side markdown parser does not like mixing _ and *.

Don't cross the streams!

share|improve this answer
    
In that case, what happens when I do this: _*_*_*_*_*_ –  Hilarious Comedy Pesto Jul 10 '09 at 15:00
6  
Try to imagine all life as you know it stopping instantaneously and every molecule in your body exploding at the speed of light. –  TokenMacGuy Jul 20 '09 at 5:03

You must log in to answer this question.

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