-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Description
> const { DOMParser } = require("linkedom");
undefined
> const parser = new DOMParser();
undefined
> parser.parseFromString(`<html><body><script>(() => {if (5>4) { console.log('hello') }})()</script></body></html>`).toString()
`<?xml version="1.0" encoding="utf-8"?><html><body><script>(() => {if (5>4) { console.log('hello') }})()</script></body></html>`
It should be () => { and 5>4
I'm using linkedom@0.14.25
Metadata
Metadata
Assignees
Labels
No labels