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

Here I asked a question http://stackoverflow.com/questions/3509818/why-script-tag-in-js-string-is-being-validated

I used following string < / s c r i p t > without spaces between characters. and it is validated as actual close tag and not shown in my question. it works in comments , but it does not work in questions. I havent tried answers yet. (this is working as expected <\/script>) (without \ character it is not working. here it is="")

share|improve this question

4 Answers 4

Use backticks: `

share|improve this answer

In your question, you just needed to add backticks around the </script>.

share|improve this answer

Indent 4 spaces, as defined in


which is linked from

  • the small [?] to the upper right of every edit area
  • the "full reference >> " link in the sidebar of any ask or edit page
  • the /faq
share|improve this answer

</script> using &lt;/script>

share|improve this answer
-1 Showing that You can do it without telling how it is done is no better than pointing a finger and saying Look how clever I am and laughing. – Nifle Aug 18 '10 at 15:08
@Nifle: The fact that it can be done means you can check the revisions and see the source. Now, laugh. – kennytm Aug 18 '10 at 16:00
I didn't know that you could view revisions and I have been here over a year... And I still dont know how I would have been able to find the revisions if you had not written it in your comment. So a new user probably would have less of a clue. But in all honesty, had I known about revisions I would not downvoted but added a comment with the link to the source. – Nifle Aug 18 '10 at 20:32
@Nifle: I edited it, now you can take back your down-vote – Tobias Kienzler Aug 19 '10 at 12:01
Downvote retracted. – Nifle Aug 19 '10 at 21:55

You must log in to answer this question.

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