Parser Error #23
Labels
No labels
Critical issue
Feature request
Major issue
Minor issue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
harmen/parametric-SVG-editor#23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
After making some mistake in my svg code I got a parser error which became the contents of the textarea resulting in losing my svg xml. Screenshot: http://imgur.com/KYNUo
<parsererror xmlns="http://www.w3.org/1999/xhtml" style="display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black"><h3>This page contains the following errors:</h3><div style="font-family:monospace;font-size:12px">error on line 3 at column 27: AttValue: " or ' expected
</div><h3>Below is a rendering of the page up to the first error.</h3></parsererror><rect x="0" y="0" rx="{rounding}" width="{width}" height="{height}" mill="{mill}" style="fill:none;stroke:red"/>
Apparently firefox and chrome give other error messages so now I check for both cases.
It will now give a alert display warning you about the error and explaining that your code will not be stored while you have this error.
Didn't check other browsers yet.