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
Ohhhh, I was being really silly here. It rejects the promise. Switching that to catch makes it succeed. Facepalm. The problem in my real example was that it was in the react pipeline for me and I wasn't really handling errors so that it was react that blew up.
Nonetheless, I don't necessarily see why the svg text utils shouldn't just sanitize the input and do its best.
rreusser
changed the title
Plot breaks unrecoverably on invalid html-style input
Plot fails to sanitize invalid html strings
Aug 2, 2017
See: https://codepen.io/rsreusser/pen/xLOPGv
Expected behavior:
"failure<sub>2</sub></sub>"
"success"
"success"
Observed behavior:
As soon as the title is made invalid in step 2, further updates don't work.
The text was updated successfully, but these errors were encountered: