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

HTML parsing error #1641

Closed
Spixmaster opened this issue Dec 21, 2024 · 2 comments
Closed

HTML parsing error #1641

Spixmaster opened this issue Dec 21, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Spixmaster
Copy link

Spixmaster commented Dec 21, 2024

v15.11.7

This HTML

<label class="form-check-label">{{message_gui_markdown_input_activated}}<input id=
"advertisement_format_toggle" class="form-check-input" role="switch" type="checkbox"></label>

is parsed to when calling document.write() with the HTML source code as argument

<label class="form-check-label">Set Markdown as input.<input id="" advertisement_format_toggle="" class="form-check-input" role="switch" type="checkbox"></label>

The error seems to be the new line.

This part

id="" advertisement_format_toggle=""

should be

id="advertisement_format_toggle"

I am using bun v1.1.42.

@Spixmaster Spixmaster added the bug Something isn't working label Dec 21, 2024
@Spixmaster
Copy link
Author

Fixed with v16.0.0.

@capricorn86
Copy link
Owner

Great to hear that v16.0.0 fixed the issue @Spixmaster! 🙂

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

No branches or pull requests

2 participants