js 去除html中的注释

html.replace(/<!--[/!]?[^<>]?>/g, '')html

相关文章
相关标签/搜索