Minify-html

Latest version: v0.16.4

Safety actively analyzes 723152 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 7

0.14.0

- Add new options to parse and preserve common templating syntax in content source code. NOTE: The parsing is "dumb" and merely looks for the next subsequence in the source code that matches the closing delimiter characters. This means that literal closing delimiter characters (e.g. strings) and nesting may cause parsing to be incorrect.
- `preserve_brace_template_syntax`: When `{{`, `{`, or `{%` are seen in content, all source code until the subsequent matching closing `}}`, `}`, or `%}` respectively gets piped through untouched.
- Templating engines: Pebble, Mustache, Django, Go, Jinja, Twix, Nunjucks, Handlebars, Liquid.
- `preserve_chevron_percent_template_syntax`: When `<%` is seen in content, all source code until the subsequent matching closing `%>` gets piped through untouched.
- Templating engines: Sailfish, JSP, EJS, ERB.

0.13.3

- Avoid downloading html-data JSON from network on build.

0.13.2

- [Java] Set up cross compilation for macOS and Linux ARM64 builds.

0.13.1

- [CLI] Add missing Cargo metadata.

0.13.0

- Use [lightningcss](https://github.com/parcel-bundler/lightningcss) instead of css-minify, which is better maintained.
- BREAKING: The `minify_css_level_*` Cfg options no longer apply and have been removed.
- [onepass] Implement `Display` and `Error` for `Error` and `FriendlyError` structs.

0.12.0

- Change CLI name to `minhtml` as it's a more concise command name and allows for `cargo install minhtml`.
- Add `keep_ssi_comments` to preserve SSI comments.
- [Ruby] BREAKING: The class method is now a global function, so call `minify_html` instead of `MinifyHtml.minify`. All else remains the same. This is due to migrating from Rutie (see [0.11.3](0113)).
- This change was inadvertently released in patch version bumps from `0.11.3` to `0.11.5`; these gems have been yanked.

Page 2 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.