fix: 修复"html注释"没有匹配换行符(#20)

This commit is contained in:
宁宁 2019-08-05 16:01:52 +08:00
parent f33e5ff32d
commit f3fa11783c

View File

@ -10,7 +10,7 @@ module.exports = [{
}, },
{ {
title: 'html注释', title: 'html注释',
rule: /<!--(.*?)-->$/, rule: /<!--[\s\S]*?-->/,
example: '如: <!--<div class="_bubble"></div>-->' example: '如: <!--<div class="_bubble"></div>-->'
}, },
{ {