SHARE
TWEET

Untitled

a guest Apr 12th, 2014 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $('code').each(function(){
  2.  
  3.         var jCode = $(this).html();
  4.  
  5.         jCode = ( jCode.replace(/<+/g, '&lt;').replace(/>+/g, '&gt;') );
  6.  
  7.         $(this).html( jCode );
  8.        
  9. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top