You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constwindow=newWindow();constdoc=newwindow.DOMParser().parseFromString('<p>here is some</p> html elástica ','text/html');console.log('text:',doc.body.textContent);
output:
text: here is some html elástica
similar code, in a browser:
constdoc=newwindow.DOMParser().parseFromString('<p>here is some</p> html elástica ','text/html');console.log('text:',doc.body.textContent);
output:
text: here is some html elástica
le bug? tested with happy-dom@9.12.0 and chrome@113
The text was updated successfully, but these errors were encountered:
setup code for happy-dom:
output:
similar code, in a browser:
output:
le bug? tested with happy-dom@9.12.0 and chrome@113
The text was updated successfully, but these errors were encountered: