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
In reality I was literally just pressing backspace and removed the >. The above will throw
morphdom-umd.js:43 Uncaught DOMException: Failed to execute 'setAttribute' on 'Element': '<' is not a valid attribute name.
I'm aware that this HTML is broken, I just wasn't expecting morphdom to throw for some reason. The browser will happily turn this into "something", as it can't just crash obviously.
The text was updated successfully, but these errors were encountered:
I assume this is expected behavior, but I was kind of expecting morphdom to handle everything I throw at it.
This happened during live editing of markdown that is rendered using morphdom. The minimal repro is this :
In reality I was literally just pressing backspace and removed the
>
. The above will throwI'm aware that this HTML is broken, I just wasn't expecting
morphdom
to throw for some reason. The browser will happily turn this into "something", as it can't just crash obviously.The text was updated successfully, but these errors were encountered: