kangax / kangax/html-minifier

Handle single tag in attribute

Open
#983 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5k
Forks
577
PR merge metrics
No merged PRs in 30d

Description

Hello,

We have some handlebars helpers which add attributs to tags :

Which gets broken after minification as (space in the closing triple curly bracket):

Even using the **ignoreCustomFragments** option as

ignoreCustomFragments: [ / ?\{\{\{[\s\S]*?\}\}\} ?/g]

Could you help me / fix it ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.