reCustomIgnore RegExp problem
Open
- Dominant language
- JavaScript
- Stars
- 5k
- Forks
- 577
- PR merge metrics
- No merged PRs in 30d
Description
**template:**
`
**html-minifier option:**
```
ignoreCustomFragments: [
/<%(#?)((?:==|=#|[=-])?)[ \t]*([\w\W]*?)[ \t]*(-?)%>/,
/{{([@#]?)[ \t]*(\/?)([\w\W]*?)[ \t]*}}/,
/\bsrc="([^"]*)"/
]
```
**render:**
`
**problem:** There's an extra space
**htmlminifier.js code**
`var reCustomIgnore = new RegExp('\\s*(?:' + customFragments.join('|') + ')+\\s*', 'g');`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.