Ignore html/head/body duplicate tags while parsing, omit them when minifying; parse <title> correctly

This commit is contained in:
Wilson Lin 2021-08-07 15:59:41 +10:00
commit 6650d94485
15 changed files with 188 additions and 55 deletions

View file

@ -2,6 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<title><title></titl></title>
</head>
<body>
<div =x =x=1 ===>&l<!-- -->t;</div>