Altering registered symbols (R)

前端 未结 1 1126
野性不改
野性不改 2020-12-19 08:39

Would it be possible with jQuery to find in all symbols that are written with

®

and wrap them with a sup tag?



        
相关标签:
1条回答
  • 2020-12-19 09:16
    var replaced = $('body').html().replace('&reg;', '<sup>&reg;</sup>');
    $('body').html(replaced);
    
    0 讨论(0)
提交回复
热议问题