diff --git a/src/index.ts b/src/index.ts index ec18ed7..e2eb0de 100755 --- a/src/index.ts +++ b/src/index.ts @@ -742,6 +742,9 @@ const kBlockTextElements = { export function parse(data: string, options?: { lowerCaseTagName?: boolean; noFix?: boolean; + script?: boolean; + style?: boolean; + pre?: boolean; }) { const root = new HTMLElement(null, {}); let currentParent = root; @@ -866,4 +869,4 @@ export function parse(data: string, options?: { response.valid = valid; return response; } -} \ No newline at end of file +}