ok, now it's fixed for older releases
This commit is contained in:
parent
07c1f5716c
commit
f8f436e0a0
1 changed files with 2 additions and 2 deletions
|
@ -24,6 +24,7 @@
|
||||||
-module(jsx_encoder).
|
-module(jsx_encoder).
|
||||||
|
|
||||||
-export([encoder/3]).
|
-export([encoder/3]).
|
||||||
|
-compile(export_all).
|
||||||
|
|
||||||
-spec encoder(Handler::module(), State::any(), Opts::jsx:opts()) -> jsx:encoder().
|
-spec encoder(Handler::module(), State::any(), Opts::jsx:opts()) -> jsx:encoder().
|
||||||
|
|
||||||
|
@ -119,7 +120,6 @@ check_string(<<C/utf8, Rest/binary>>) when C > 16#fdef, C < 16#fffe ->
|
||||||
check_string(Rest);
|
check_string(Rest);
|
||||||
check_string(<<C/utf8, Rest/binary>>)
|
check_string(<<C/utf8, Rest/binary>>)
|
||||||
when C > 16#ffff andalso
|
when C > 16#ffff andalso
|
||||||
C =/= 16#fffe andalso C =/= 16#ffff andalso
|
|
||||||
C =/= 16#1fffe andalso C =/= 16#1ffff andalso
|
C =/= 16#1fffe andalso C =/= 16#1ffff andalso
|
||||||
C =/= 16#2fffe andalso C =/= 16#2ffff andalso
|
C =/= 16#2fffe andalso C =/= 16#2ffff andalso
|
||||||
C =/= 16#3fffe andalso C =/= 16#3ffff andalso
|
C =/= 16#3fffe andalso C =/= 16#3ffff andalso
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue