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
Describe the bug
parseFromString improperly handling html entities. I believe it stems from changes via #908. parseFromString is working as expected in version 9.15. If outerHTML is used via happy-dom after a parse, it will output improper HTML (ex. <ul data-obj="{"missUseOfQuotes":true}"></ul>)
vknowles-rv
changed the title
DOM Parser parseFromString outputting improper HTML (attributes do not keep necessary entities)
DOMParser parseFromString outputting improper HTML (attributes do not keep necessary entities)
May 31, 2023
Describe the bug
parseFromString improperly handling html entities. I believe it stems from changes via #908. parseFromString is working as expected in version 9.15. If outerHTML is used via happy-dom after a parse, it will output improper HTML (ex.
<ul data-obj="{"missUseOfQuotes":true}"></ul>
)To Reproduce
Steps to reproduce the behavior:
Expected behavior
Chrome:
happy-dom 9.15
happy-dom latest
Device:
Additional context
I'm using happy dom via vitest.
The text was updated successfully, but these errors were encountered: