Commit Graph

103 Commits

Author SHA1 Message Date
Alexander Akait
9202ff9700
feat(html/minifier): Improve smart mode (#5004) 2022-06-26 19:08:03 +00:00
Alexander Akait
e6c78d0b1d
feat(html/minifier): Add remove_comments option (#5037) 2022-06-25 05:58:06 +00:00
Alexander Akait
47d34a33d4
feat(html/minifier): Compress style and media attributes (#5022) 2022-06-23 03:29:00 +00:00
Alexander Akait
03d8a3a0dd
feat(html/minifier): Add remove_redundant_attributes (#5023) 2022-06-22 05:54:25 +00:00
Alexander Akait
c61babd9af
fix(html/minifier): Compress more complex attributes (#5024) 2022-06-22 04:55:35 +00:00
Alexander Akait
f1fd83dcc7
fix(html/minifier): Avoid optional attributes (#5016) 2022-06-21 15:34:16 +00:00
Alexander Akait
28bc735d03
feat(html/minifier): Minify js (#4999) 2022-06-21 14:28:53 +00:00
Alexander Akait
7745fbf604
feat(html/minifier): Add an API to minify document fragments (#5002) 2022-06-20 13:05:48 +00:00
Alexander Akait
1538649237
feat(html/minifier): Compress more svg/mathml attributes (#5001) 2022-06-20 12:25:43 +00:00
Alexander Akait
713a256ed7
feat(html/minifier): Minify conditional comments (#4975) 2022-06-18 03:51:46 +00:00
Alexander Akait
8e63b0bbd5
fix(html/minifier): Fix removal of comments (#4974) 2022-06-17 19:11:27 +00:00
Alexander Akait
fb74ace19b
feat(html/minifier): Add an option to set html5 doctype (#4980) 2022-06-17 13:26:37 +00:00
Donny/강동윤
364a34cd70
test(html): Remove files which are too large too verify (#4983) 2022-06-16 09:33:21 +00:00
Alexander Akait
2e52c18a6b
feat(html/minifier): Add preserve_comments option (#4959) 2022-06-16 04:26:53 +00:00
Alexander Akait
3e6c0f567a
feat(html/minifier): Compress CSS (#4973) 2022-06-15 04:04:57 +00:00
Alexander Akait
5c2a918946
feat(html): Support self-closing flag (#4950) 2022-06-14 13:31:23 +00:00
Alexander Akait
3957bc64b7
feat(html/minifier): Add collapse_boolean_attributes option (#4960) 2022-06-14 05:38:50 +00:00
Alexander Akait
63d630d477
feat(html/minifier): Add remove_empty_attributes option (#4958) 2022-06-13 19:52:35 +00:00
Alexander Akait
f2690cce08
feat(html/minifier): Compress whitespaces (#4916) 2022-06-13 13:55:03 +00:00
Alexander Akait
f157aae40c
feat(html/codegen): Minify svg attributes (#4917) 2022-06-10 09:14:40 +00:00
Alexander Akait
da09c1ca5b
feat(html/codegen): Improve entity compression (#4889) 2022-06-07 04:33:33 +00:00
Alexander Akait
6e0f5f1c48
feat(html/minifier): Remove spaces between nodes (#4880) 2022-06-04 17:51:36 +00:00
Alexander Akait
c5df1a3a54
feat(html/minifier): Improve compression of attributes (#4849) 2022-06-01 00:07:19 +00:00
Alexander Akait
e6ae299776
feat(html/minifier): Compress viewport meta (#4844) 2022-05-30 07:07:52 +00:00
Alexander Akait
c9d0e37ab9
fix(html/codegen): Remove optional html start tag (#4811) 2022-05-27 14:45:18 +00:00
Alexander Akait
d833057d79
fix(html/codegen): Handle HTML entities correctly (#4782) 2022-05-27 08:39:30 +00:00
Alexander Akait
731c59e9b7
feat(html/minifier): Compress more json types (#4813) 2022-05-27 07:09:28 +00:00
Alexander Akait
c35cb598f7
fix(html/minifier): Avoid removing id with spaces (#4786) 2022-05-26 06:13:39 +00:00
Alexander Akait
c6ec9f9cf2
feat(html/codegen): Omit start and end tags if it is possible (#4780) 2022-05-25 16:48:33 +00:00
Alexander Akait
11aa6bee9e
feat(html/minifier): Sort classes (#4783) 2022-05-25 03:02:27 +00:00
Alexander Akait
b5e481c114
feat(html/minifier): Improve script type compression (#4785) 2022-05-25 02:35:43 +00:00
Alexander Akait
07c197f51c
feat(html/codegen): Omit end tags (#4770) 2022-05-24 12:54:12 +00:00
Alexander Akait
5d0e8fbda4
feat(html/parser): Report an error for a legacy doctype (#4717) 2022-05-21 10:59:56 +00:00
Alexander Akait
cac8cee62a
feat(html/minifier): Compress characters in head (#4682) 2022-05-19 01:15:40 +00:00
Alexander Akait
3aac28e9df
feat(html/minifier): Compress more json content (#4684) 2022-05-17 03:44:27 +00:00
Alexander Akait
1f945b9277
fix(html/parser): Fix error reporting (#4644) 2022-05-14 01:43:52 +00:00
Alexander Akait
af9c8c6b4c
fix(html): Fix parsing of template (#4647) 2022-05-13 05:07:24 +00:00
Alexander Akait
c41aca6b24
feat(html/minifier): Compress application/ld+json (#4628) 2022-05-12 19:32:49 +00:00
Alexander Akait
5679b69600
feat(html/minifier): Improve minification of attributes (#4625) 2022-05-12 04:40:47 +00:00
Alexander Akait
79090e1b2a
fix(html/parser): Fix parsing of comments in textarea (#4530) 2022-05-05 03:13:20 +00:00
Alexander Akait
fca84eb0f2
fix(html/parser): Fix bugs (#4502) 2022-05-03 02:49:06 +00:00
Alexander Akait
750d6551fc
feat(html/minifier): Remove duplicate attributes (#4474) 2022-04-29 05:28:55 +00:00
Alexander Akait
a1877e740a
feat(html/minifier): Remove javascript: prefix (#4460) 2022-04-29 03:19:44 +00:00
Alexander Akait
8bdfcd996a
fix(html): Fix bugs of parser and codegen (#4461) 2022-04-28 17:57:05 +00:00
Alexander Akait
0ae43502f3
feat(html/minifier): Compress whitespaces (#4463) 2022-04-28 02:30:53 +00:00
Alexander Akait
8c4dc4cc46
fix(html/parser): Fix a bug with nested tags (#4438) 2022-04-27 02:46:34 +00:00
Alexander Akait
4c699f2554
feat(html/minifier): Compress default values of attributes (#4427) 2022-04-26 07:12:32 +00:00
Alexander Akait
6fc70f3866
feat(html/minifier): Compress doctype (#4425) 2022-04-25 14:34:36 +00:00
Alexander Akait
25a87f0000
feat(html/minifier): Compress type for style and link tags (#4424) 2022-04-25 13:44:53 +00:00
Pig Fang
fec0f2e417
feat(html/minifier): Remove script type attribute (#4407) 2022-04-25 07:46:38 +00:00
Alexander Akait
9b26dbd457
fix(html/lexer): Fix lexing of html entity (#4423) 2022-04-25 05:34:59 +00:00
Alexander Akait
c15dc4f2b7
feat(html/codegen): Print unquoted value when it is possible (#4402) 2022-04-23 15:31:11 +00:00
Alexander Akait
63a6280e8f
feat(html/minifier): Initialize crate (#4403) 2022-04-23 03:50:59 +00:00