Altering registered symbols (R)
Would it be possible with jQuery to fi开发者_JAVA技巧nd in all symbols that are written with
®
and wrap them with a sup tag?
<sup>®</sup>
var replaced = $('body').html().replace('®', '<sup>®</sup>');
$('body').html(replaced);
精彩评论