Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XMLParser Error #519

Closed
Mas0nShi opened this issue Jun 25, 2022 · 1 comment · Fixed by #782
Closed

XMLParser Error #519

Mas0nShi opened this issue Jun 25, 2022 · 1 comment · Fixed by #782
Labels
bug Something isn't working high priority

Comments

@Mas0nShi
Copy link
Contributor

e.g.

const { Window } = require("../packages/happy-dom");

const window = new Window(), document = window.document;

document.write(`<html>
<!--[if lt IE 9]>
    <script>window.location = 'browser.htm';</script>
<![endif]-->
</html>`);

console.log(window.location);

this will result in incorrect loading scripts window.location = 'browser.htm';

@capricorn86 capricorn86 added bug Something isn't working high priority labels Jul 1, 2022
Mas0nShi added a commit to Mas0nShi/happy-dom that referenced this issue Feb 23, 2023
Mas0nShi added a commit to Mas0nShi/happy-dom that referenced this issue Feb 23, 2023
Mas0nShi added a commit to Mas0nShi/happy-dom that referenced this issue Feb 24, 2023
Mas0nShi added a commit to Mas0nShi/happy-dom that referenced this issue Feb 24, 2023
Mas0nShi added a commit to Mas0nShi/happy-dom that referenced this issue Feb 24, 2023
capricorn86 added a commit that referenced this issue Feb 24, 2023
@capricorn86
Copy link
Owner

Thanks for the contribution @Mas0nShi! 🌟

You can read more about the release here:
https://github.com/capricorn86/happy-dom/releases/tag/v8.7.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants