display original message on xml syntax error

Create issue
Issue #21 closed
1024 repo owner created an issue

The original error messagein the red box is ugly.

Comments (7)

  1. 1024 reporter

    WebKit adds parsererror element direct under the body (before svg) if the syntax was wrong.

    So:

    1. check existence of the parsererror
    2. remove the element from DOM
    3. parse the persererror
    4. display it
  2. Log in to comment