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.

I found a question (screenshot here) where the user placed some subscript characters both in title and body.

The weird thing is the title displays them correctly, but the body won't, so I changed them to <sub>1</sub> and so on.

Now I'm wondering: is it possible to use the allowed HTML tags in the title, or not? (I don't want to try doing it as I fear to mess it up, and I don't have editing privilege so test edits will waste someone's time.)

share|improve this question

1 Answer 1

up vote 3 down vote accepted

It's possible, but it won't render as such. So if you put <i> or <li> in a title (without the code backticks, that is), it won't render in the title as italic or a list item. That lets you, among other things, ask about those elements. I've demonstrated exactly such in the title of this question.

There used to be an issue in which auto-generated titles would render the HTML even though the question title proper did not. As noted by balpha below, this will be fixed in the upcoming build.

share|improve this answer
2  
that autogenerated thing needs some fixin' :) –  balpha Mar 7 '11 at 13:43
    
... and fixed (next build) –  balpha Mar 7 '11 at 13:53
    
@balpha, now the title "Newline before closing </pre> might break formatting in other parts of same post" is rendered without the </pre> part altogether. Is that by design? (See here just above the "Update".) –  Arjan Mar 9 '11 at 8:54
    
@Arjan: this is about autogenerated link texts for bare question links. You entered the text by hand, including an (unencoded) </pre> that will get stripped –  balpha Mar 9 '11 at 8:58
    
Aha, @balpha, of course! Sorry about the alert! :-) –  Arjan Mar 9 '11 at 9:51

You must log in to answer this question.

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