You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm using html-minifier to handle lit HTML template literal, and define each template source using html as keyword. For some reason, I have to define customer col separately and repeat to render different cols for few times. The following code snippet shows the simplest case I have, the output forces adding colgroup for col, which is not expected.
col element is a special case in htmlparser.js, if there's no colgroup in the same template then have to push one and trigger start with two tags (colgroup & col).
Hi, I'm using html-minifier to handle lit HTML template literal, and define each template source using html as keyword. For some reason, I have to define customer col separately and repeat to render different cols for few times. The following code snippet shows the simplest case I have, the output forces adding colgroup for col, which is not expected.
source code to be minified
minified output:
col element is a special case in htmlparser.js, if there's no colgroup in the same template then have to push one and trigger start with two tags (colgroup & col).
Is any chance to cover this case?
Thanks
The text was updated successfully, but these errors were encountered: