Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 153 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

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

</script> using &lt;/script>

share|improve this answer
1  
-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
3  
@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
2  
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
2  
@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

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

share|improve this answer

Use backticks: `

`</script>` 
share|improve this answer

Indent 4 spaces, as defined in

http://meta.stackoverflow.com/editing-help

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

You must log in to answer this question.

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