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
When using happy-dom to parse HTML containing a <pre><code> block, the output of document.body.textContent is duplicated and incorrect. The expected output should match the original content inside the <code> tag, but the actual output contains repeated and misplaced lines.
Description
When using
happy-dom
to parse HTML containing a<pre><code>
block, the output ofdocument.body.textContent
is duplicated and incorrect. The expected output should match the original content inside the<code>
tag, but the actual output contains repeated and misplaced lines.Steps to Reproduce
Run the following code:
Observe the output.
Actual Output
Expected Output
Screenshots
Environment
The text was updated successfully, but these errors were encountered: