I added a system message according to the template Grace Note provided, the source code of the message is the following

There will be a short network-wide outage starting on 8/6 19:00 UTC for <a href="http://blog.serverfault.com/post/stack-exchange-maintenance-this-saturday/">system maintenance</a>. <span style="color:red; font-weight:bold;">Do not panic.</span>

The red "Do not panic" is rendered red in the preview, but not on the actual live system message. It appears without any formatting. I could understand if the formatting for those message would be limited, but the preview should ideally reflect the restrictions that will be imposed on the live system message.

share|improve this question
    
"Do not panic" does show up in the system message on Gaming. –  Anna Lear Aug 5 '11 at 20:30
    
@Anna but not in red (and badp modified the template, AFAIK). I'll clarify my question. –  Mad Scientist Aug 5 '11 at 20:33
1  
+1 On Science Fiction & Fantasy, “do not panic” is supposed to be written in large, friendly letters. What's large and friendly about the normal font? –  Gilles Aug 5 '11 at 20:39
    
It doesn't show up at all on Software Quality Assurance & Testing... strange. –  corsiKa Aug 5 '11 at 20:57
    
@glowcoder: because you haven't put it there yet... –  Shog9 Aug 5 '11 at 21:01
1  
@Shog ah, I figured it was a system wide announcement sheepish look –  corsiKa Aug 5 '11 at 21:04
    
@glowcoder: yeah, it isn't; not sure why not. But it not being is sorta the instigator of this request. –  Shog9 Aug 5 '11 at 21:11
1  
On the bright side, it made me go and find where in the control panel it is (which isn't in an intuitive place really. Not that I can think of a better place for it.) –  corsiKa Aug 5 '11 at 21:13
    
@glow Just don't forget to remove the message after the downtime is done. Whenever that is. –  Shog9 Aug 5 '11 at 23:27
add comment

2 Answers

up vote 4 down vote accepted

The HTML sanitizer exists as a JavaScript version anyway (for the editor preview), so I just hooked it up to the system message preview as well.

share|improve this answer
add comment

We don't allow arbitrary HTML in system messages; it's subject to the same HTML whitelist that every other post on the entire Stack Exchange network is subject to.

What HTML tags are allowed on Stack Overflow, Server Fault, and Super User?

share|improve this answer
    
From the question it sounds like the HTML sanitizer just isn't hooked up to that preview though, isn't that fixable? –  Tim Stone Aug 5 '11 at 22:55
    
Then why is it working on some sites? –  John Aug 6 '11 at 1:01
add comment

You must log in to answer this question.

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