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 (&) –  Jim 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
add comment

1 Answer

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
add comment

You must log in to answer this question.

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