Steps to Reproduce:
- Open a page containing the symbol "Combining Long Solidus Overlay" (Hex Code: ̸) in the Visual Editor and do any change.
- Attempt to:
- Switch to the code editor, or
- Save the changes.
Actual Results:
- The operation does not complete (e.g., switching to code editor or saving changes does nothing).
- The following error appears in the browser console:
ve.dm.Converter.js:203 Uncaught InvalidCharacterError: Failed to execute 'setAttribute' on 'Element': '≯<' is not a valid attribute name.
at ve.dm.Converter.static.renderHtmlAttributeList (ve.dm.Converter.js:203:28)
at ve.dm.Converter.getDomElementsFromDataElement (ve.dm.Converter.js:506:27)
at ve.dm.Converter.getDomSubtreeFromData (ve.dm.Converter.js:1710:35)
at ve.dm.Converter.getDomSubtreeFromModel (ve.dm.Converter.js:1286:7)
at ve.dm.Converter.getDomFromModel (ve.dm.Converter.js:1242:7)
at ve.dm.Surface.getDom (ve.dm.Surface.js:189:26)
at ve.ui.Surface.getDom (ve.ui.Surface.js:273:25)
at ve.init.mw.ArticleTarget.createDocToSave (ve.init.mw.ArticleTarget.js:1213:27)
at ve.init.mw.ArticleTarget.getDocToSave (ve.init.mw.ArticleTarget.js:1198:25)
at ve.init.mw.DesktopArticleTarget.switchToFallbackWikitextEditor (ve.init.mw.DesktopArticleTarget.js:1449:31)Expected Results:
The editor should handle the Unicode character correctly.
Originally reported at https://ru.wikipedia.org/wiki/Википедия:Форум/Технический#Визиред:_Невозможно_получить_Parsoid_HTML