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

This question already has an answer here:

what happen if a post the following question in stackoverflow?

<script>
alert("javascript");
</script>

In other words, does stackoverflow sanitize the question text?

share|improve this question

marked as duplicate by Martijn Pieters, George Stocker Mar 6 '13 at 18:13

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2  
You could have used the formatting sandbox for that. It's filtered. –  Martijn Pieters Mar 6 '13 at 18:01
    
where is this sandbox? –  Chico Sokol Mar 6 '13 at 18:03

1 Answer 1

The question text is sanitized. Only a (very) small subset of HTML is tolerated.

<script> tags are not included in the whitelist. Only a very specific set of attributes are allowed, and only on <img> and <a> tags. Use attributes anywhere else and the tag is stripped completely.

share|improve this answer

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