/ Published in: jQuery
URL: http://justinhileman.info/articles/more-jquery-typography
Expand |
Embed | Plain Text
$('h1,h2,h3,h4,h5,h6').each( function(){ $(this).html($(this).html().replace(/&/g,'<span class="amp">&<\/span>')); } );
You need to login to post a comment.
