adds loose_unicode option which replaces badly formed unicode (escaped non-characters and restricted codepoints, as well as partial surrogates) with u+fffd instead of throwing an error
This commit is contained in:
parent
51d27bb3b5
commit
653205501c
15 changed files with 121 additions and 10 deletions
|
@ -34,6 +34,7 @@
|
|||
|
||||
-type jsx_opts() :: [jsx_opt()].
|
||||
-type jsx_opt() :: {multi_term, true | false}
|
||||
| loose_unicode
|
||||
| {encoding, auto
|
||||
| utf8
|
||||
| utf16
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue