From 1d03ef06ac159f0bccc9463341246deffe994561 Mon Sep 17 00:00:00 2001 From: blex41 Date: Sun, 12 Jan 2020 01:03:34 +0100 Subject: [PATCH] feat: allow comment parsing --- README.md | 3 ++- src/index.ts | 36 +++++++++++++++++++++++++++++++++-- test/html.js | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 90 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c340e58..8f5b5ec 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,8 @@ Parse given data, and return root of the generated DOM. lowerCaseTagName: false, // convert tag name to lower case (hurt performance heavily) script: false, // retrieve content in