Screenshot of the error
Steps to reproduce:
1.Open a page with VE
2.Add a gallery from Insert>Gallery or just simply close the inspector without adding anything.
3.Click on the "Save Page" button
Observed Result:
The page cannot be saved.
An error appears in the console:
Uncaught Error: InvalidCharacterError: DOM Exception 5
See the screenshot attached.
Test Environment: https://test2.wikipedia.org/
Browser: Chrome Version 26.0.1410.65
OS: MAC OS X 10. 8. 5
Page:https://test2.wikipedia.org/w/index.php?title=Thedomtest&veaction=edit
Version: unspecified
Severity: normal
Attached: