1
0
mirror of https://github.com/mrclay/minify.git synced 2025-05-07 12:25:24 +02:00
Andrew Welch 0f607be23a
Exclude SSI Comments ()
* Exclude SSI comments

Exclude Nginx & Apache Server Side Include (SSI) comments from being stripped via minification, the same way IE directives are not stripped.

Both Nginx & Apache SSI directives begin with:

<!—#

So we can just look for the # and don’t strip the comment in that case.

Nginx SSI: http://nginx.org/en/docs/http/ngx_http_ssi_module.html

Apache SSI: https://httpd.apache.org/docs/2.4/howto/ssi.html

* Add tests for Nginx/Apache SSI directives

Co-authored-by: Andrew Welch <andrew@keluli.local>
2020-04-02 22:45:11 +03:00
..
2017-04-18 18:24:17 +03:00
2017-04-18 18:24:17 +03:00
2016-10-16 15:13:38 -04:00
2016-10-16 16:44:58 +03:00
2016-10-16 18:51:49 +03:00
2019-10-28 11:03:44 +01:00
2016-10-16 18:51:49 +03:00
2016-10-16 15:13:38 -04:00
2016-10-16 18:51:49 +03:00
2018-01-05 14:29:16 +02:00
2016-10-16 15:13:38 -04:00
2018-01-05 14:28:28 +02:00
2020-04-02 22:45:11 +03:00
2016-10-16 18:51:49 +03:00
2018-01-05 14:34:06 +02:00
2016-10-16 18:51:49 +03:00
2016-10-16 18:51:49 +03:00
2016-10-16 18:51:49 +03:00
2018-01-05 19:09:42 +02:00
2016-10-16 18:51:49 +03:00
2016-10-16 18:51:49 +03:00
2018-01-05 14:28:28 +02:00