Menu icon Foundation
Keep closing tags for link and meta

Is it possible to keep the closing tags for <link> and <meta> ?

I tried modifying the sample-cli-config-file.conf in .../node_modules/gulp-htmlmin/node_modules/html-minifier and set all the remove-tags commands to false, but it still got ignored. My code looks like this:

<link rel="stylesheet" type="text/css" href="css/app.css"></link>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
    <meta name="viewport" content="width=device-width"></meta>
    <title>{{subject}}</title>

I'm asking this for the following use case: I need to send the html to another interpreter language which needs all the closing tags.

 

Or as an alternative solution: Is it possible to deactivate all minifying html, if yes, how could i do this?

 

Thanks in advance!

linkmetaclosing taghtml minify

Is it possible to keep the closing tags for <link> and <meta> ?

I tried modifying the sample-cli-config-file.conf in .../node_modules/gulp-htmlmin/node_modules/html-minifier and set all the remove-tags commands to false, but it still got ignored. My code looks like this:

<link rel="stylesheet" type="text/css" href="css/app.css"></link>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
    <meta name="viewport" content="width=device-width"></meta>
    <title>{{subject}}</title>

I'm asking this for the following use case: I need to send the html to another interpreter language which needs all the closing tags.

 

Or as an alternative solution: Is it possible to deactivate all minifying html, if yes, how could i do this?

 

Thanks in advance!