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
If the HTML has mangled quotes, for example <div id="x""> or <div id="x class="x"> then domtoimage.toPng will emit an Event with a type of error but no message.
Use case: description, code
If the HTML has mangled quotes, for example
<div id="x"">
or<div id="x class="x">
thendomtoimage.toPng
will emit anEvent
with a type oferror
but no message.jsfiddle
Expected behavior
Screenshot should be produced
Actual behavior (stack traces, console logs etc)
Library version
3.1.6
Browsers
Workaround
Removing attributes names containing
"
before taking the screenshot will work around the problemThe text was updated successfully, but these errors were encountered: