Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 157 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Originally in the FAQ, the "target audience" phrase (i.e. "professional and amateur cooks and chefs" on the FAQ) had a yellow background. This was accomplished by surrounding it in an HTML tag, specifically <span class="revision-comment">, which makes it consistent in appearance with other parts of the FAQ.

It would seem that this text block has been switched from pure HTML to Markdown, and the span tag is not supported. So even though I add it, and it actually "sticks" (I can see that the tags are still there if I edit it again), it's never actually displayed or even rendered out to the browser.

Is there any workaround for this? If not, is it possible to whitelist the <span> tag for the moderator-editable content areas?

share|improve this question
Not just the span tag... You'll also need the class attribute, which is also normally stripped by SO's Markdown processor. – Shog9 Aug 28 '10 at 18:01
@Shog9: Allowed attributes seem to be specific to a tag according to the FAQ. You're right in that if they allow the tag, they'll have to make that one of the allowed attributes. Or just code a Markdown-based workaround to get that specific style. – Aarobot Aug 28 '10 at 22:00
that would probably be the better option. – Shog9 Aug 28 '10 at 22:18

Why not allow the HTML 5 <mark> tag to everyone (including non mods) everywhere (including in posts)?

I think it will be useful. It would be styled with the light yellow background.

share|improve this answer

You must log in to answer this question.

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