adds {escaped_unicode, replace} option that replaces illegal escape sequences with the unicode replacement character u+fffd when encountered
This commit is contained in:
parent
b4eaf15dbe
commit
66f5e0b48a
6 changed files with 56 additions and 9 deletions
|
@ -33,7 +33,7 @@
|
|||
|
||||
|
||||
-type jsx_opts() :: [jsx_opt()].
|
||||
-type jsx_opt() :: {escaped_unicode, ascii | codepoint | none}
|
||||
-type jsx_opt() :: {escaped_unicode, ascii | codepoint | replace | none}
|
||||
| {multi_term, true | false}
|
||||
| {encoding, auto
|
||||
| utf8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue