This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
    Bookmark Topic Watch Topic
  • New Topic
 
friki data migration
Ranch Hand
Posts: 772
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Eric put together a handy way to escape html for posting in the forums.

javascript:var elem = document.forms[0].message;elem.value = elem.value.replace(/on/gi,"on").replace(/mouse/gi,"mouse").replace(/>/gi,">").replace(/</gi,"<");void(0);

You can either copy paste this into the address bar or create a bookmarklet (a bookmark with this JavaScript as the source.)

Source: http://www.coderanch.com/t/121937/HTML-JavaScript/html-escaper


CategoryJForum
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic