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

Render crashing syntax bug #262

Open
HueByte opened this issue Sep 19, 2021 · 3 comments
Open

Render crashing syntax bug #262

HueByte opened this issue Sep 19, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@HueByte
Copy link

HueByte commented Sep 19, 2021

I've noticed that when you try for example add code like this:

<p align="center">
    <img src="https://i.pinimg.com/originals/ec/b3/45/ecb3455c4ab0058ec05769a7e9f93e49.gif" />
</p>

and then by mistake if you remove the space between img and src

<p align="center">
    <imgsrc="https://i.pinimg.com/originals/ec/b3/45/ecb3455c4ab0058ec05769a7e9f93e49.gif" />
</p>

this results in this error and failing to render anything.

Uncaught DOMException: Failed to execute 'createElement' on 'Document': 
The tag name provided ('imgsrc="https:') is not a valid name.

This is UX breaking problem, which I think should be fixed quickly.

@HueByte HueByte changed the title Problem with error handling Render crashing syntax bug Sep 20, 2021
@jaywcjlove jaywcjlove added the bug Something isn't working label Nov 10, 2021
@HueByte
Copy link
Author

HueByte commented Nov 16, 2021

Is there any work on it?

@carlgunderson
Copy link

That's simply the structure of HTML, there's nothing to fix for that besides not removing the space.

@HueByte
Copy link
Author

HueByte commented Feb 11, 2022

Any updates?
There should be some event handler or event fired when that happens.

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

3 participants