Commit Graph

29 Commits

Author SHA1 Message Date
Wilson Lin ad21466d2c Change default CSS minifier optimising level and allow configuring it 2023-02-16 19:23:03 +11:00
Wilson Lin 013afa007e Improve handling of RCDATA text content in edge cases 2023-01-05 14:55:45 +11:00
Wilson Lin cdd56e8667 Do not encode entities in RCDATA text content 2023-01-05 14:28:16 +11:00
Wilson Lin a316b8bcbb Minor type fixes 2023-01-05 12:37:40 +11:00
Wilson Lin 5989c06e58 Use FxHasher for internal hash-based data structures 2023-01-05 11:48:03 +11:00
Wilson Lin 1aea5d1be8 Bump minify-js 2022-09-28 12:51:44 +10:00
Winston Ewert ef6d049da8
Allow self-closing <svg> tags 2022-08-09 12:38:34 +10:00
Wilson Lin c5bfac177c Drop mismatched closing tags instead of reinterpreting as opening tags 2022-06-22 20:13:36 +10:00
Wilson Lin c7d0652fbc Use minify-js as JS minifier 2022-06-21 17:29:12 +10:00
Wilson Lin 737a82df40 Minify SVG element whitespace 2021-12-15 15:29:06 +11:00
Wilson Lin e93188f9b7 Do not remove empty alt tag 2021-12-14 12:49:29 +11:00
Wilson Lin ece1f84fc4 Fix spaces not being added between unquoted attributes when requested 2021-10-23 13:39:06 +11:00
Wilson Lin c8973d4eac Intrepret `type=module` on <script> as a JS type 2021-10-23 13:27:48 +11:00
Wilson Lin 14b3999705 Add Cfg option to disable DOCTYPE minification 2021-08-10 17:45:37 +10:00
Wilson Lin ca30897dae Trim script and style elements 2021-08-10 17:35:14 +10:00
Wilson Lin b0bba546ce Formatting 2021-08-10 16:33:20 +10:00
Wilson Lin f304baed0f Improve attr min 2021-08-10 16:07:38 +10:00
Wilson Lin bdd6458f22 Simplify Cfg 2021-08-10 14:31:08 +10:00
Wilson Lin 563f7dfc2a Implement Default and spec_compliant for Cfg 2021-08-10 14:27:59 +10:00
Wilson Lin d427d2753a Implement c14n; minify doctypes; minify viewport tags 2021-08-10 02:56:48 +10:00
Wilson Lin 73a9b2cfb6 Implement tests 2021-08-09 23:11:24 +10:00
Wilson Lin 5cef4219e6 Fix [style] and script[type] minification; optimise attr ordering; refactor bench runners 2021-08-09 22:20:33 +10:00
Wilson Lin 19abe390d4 Formatting 2021-08-09 19:56:37 +10:00
Wilson Lin 91bdcc3e44 Use symlink to common submodule as using a filesystem dep prevents publishing 2021-08-09 17:46:01 +10:00
Wilson Lin 1207b9c2cb Delete dead code 2021-08-09 00:50:09 +10:00
Wilson Lin 4871475018 Fix missing import 2021-08-09 00:49:09 +10:00
Wilson Lin 3e3a4bbd9a Move entity code 2021-08-08 18:46:51 +10:00
Wilson Lin 6ebecd1364 Use minify-html-common; reformat 2021-08-08 17:58:10 +10:00
Wilson Lin 82d287d9c4 Restructure Rust project 2021-08-08 17:40:42 +10:00