我想从HTML文本中删除HTML注释。
应该有以下结果:
<h1>heading</h1> <!-- comment-with-hyphen --> some text <-- con --> more text <hello></hello> more text
应该有以下结果:
<h1>heading</h1> some text <-- con --> more text <hello></hello> more text