Commit Graph

12 Commits

Author SHA1 Message Date
Wilson Lin 82d287d9c4 Restructure Rust project 2021-08-08 17:40:42 +10:00
Wilson Lin 6650d94485 Ignore html/head/body duplicate tags while parsing, omit them when minifying; parse <title> correctly 2021-08-07 15:59:41 +10:00
Wilson Lin 766498ebfb Fix next sibling calc 2021-08-06 23:07:55 +10:00
Wilson Lin b0c574dbd7 Fix tag omission minification; implement entity reencoding minification 2021-08-06 22:53:33 +10:00
Wilson Lin e52d85bc28 Reformatting 2021-08-06 21:07:58 +10:00
Wilson Lin 9eb5045f6f Sort attributes for determinism; fix parsing of entities; combine split adjacent text nodes 2021-08-06 21:04:47 +10:00
Wilson Lin 74b4ab689e Various parsing fixes 2021-08-06 20:16:30 +10:00
Wilson Lin bf37e37e71 Clean up dead code and tests 2021-08-06 17:54:23 +10:00
Wilson Lin 1a930a170d rustfmt 2021-08-06 16:19:36 +10:00
Wilson Lin 5a259a8ead Implement core minifier 2021-08-06 16:17:45 +10:00
Wilson Lin 0a85ebe34b Decode entities 2021-08-06 13:36:07 +10:00
Wilson Lin 88d288b0cb Implement parser; remove legacy code 2021-08-06 12:07:27 +10:00