-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Hi!
I am currently having issues with formatting XML through prettier plugin which uses your library to implement their XML formatting. We are trying to figure out if it is possible to ignore certain syntax errors and continue formatting the rest of the file.
Example:
<Text text="< Back" />
This currently fails with SyntaxError: unexpected character: ->"<- at offset: XXX skipped 1 characters. (XXX:XXX) and doesn't format that file at all. I think the issue is with the < inside of the quotes. According to the XML spec, this is invalid syntax. We are wondering if there is a flag or a feature that can be used to ignore such errors and continue formatting the rest of it.
cc: @kddnewton
NatoBoram and commitToStahl
Metadata
Metadata
Assignees
Labels
No labels