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

I'm using SO on IE 9 and I never noticed this until recently (but can't remember if it ever worked).

In both the title and the body of a Question, in order to get angle brackets (and I assume ampersand) to appear it requires the use of HTML entities.

Is this a bug?

enter image description here

share|improve this question
Ampersand works just fine as plaintext (&) – yoozer8 May 23 '12 at 19:10
Definitely by design. I believe this is done to make HTML sanitizing easier -- List <B> blah blah blah is (relatively) hard to tell apart from List <B>some bolded text</B> for example. – Matthew Read May 23 '12 at 19:12

1 Answer 1

up vote 8 down vote accepted

It is expected that you will put code into either the in-line code context (between backticks) or the block code context (indented by 4 spaces).

That is I can reference List<T> just fine, and I can have a longer code sample with angle brackets as well:

double fValue; ///< The weight associated with contributing
               ///  points. Only set after Eval(bool)
std::list<const point*> fList; ///< A list of test points in data
                               ///  space (x,y) that *might*
                               ///  contribute in this region
share|improve this answer
good enough for me – Aaron Anodide May 23 '12 at 18:59

You must log in to answer this question.

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