Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('code').each(function(){
- var jCode = $(this).html();
- jCode = ( jCode.replace(/<+/g, '<').replace(/>+/g, '>') );
- $(this).html( jCode );
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement