mirror of
https://github.com/any86/any-rule.git
synced 2025-07-14 15:38:58 +08:00
fix: 修复"html注释"没有匹配换行符(#20)
This commit is contained in:
parent
f33e5ff32d
commit
f3fa11783c
@ -10,7 +10,7 @@ module.exports = [{
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'html注释',
|
title: 'html注释',
|
||||||
rule: /<!--(.*?)-->$/,
|
rule: /<!--[\s\S]*?-->/,
|
||||||
example: '如: <!--<div class="_bubble"></div>-->'
|
example: '如: <!--<div class="_bubble"></div>-->'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user