💣 Breaking Changes
- Refactors XML and HTML parsing and serialization - By @capricorn86 in task #1615
- This change may break your tests as the serialized output may differ from v15
🎨 Features
- Adds support for parsing XML in
DOMParser
- By @capricorn86 in task #284 - Improved performance in
document.write()
- By @capricorn86 in task #1615- Elements are now added directly to the document during parsing
👷♂️ Patch fixes
- Fix for handling
<html>
,<head>
and<body>
during parsing - By @capricorn86 in task #1615 - Fix for handling HTML entities correctly when parsing and serializing - By @capricorn86 in task #1494 and #1498
- Fix for handling attribute names containing "[" or "]" during parsing - By @capricorn86 in task #1638
- Fix for handling comments containing HTML tags - By @capricorn86 in task #1630
- Fix for handling namespaces in
XMLSerializer
- By @capricorn86 in task #1615 - Handles rules for parsing table elements - By @capricorn86 in task #1126
- Loads scripts asynchronously when "defer" is set or "type" is "module" - By @capricorn86 in task #1615