mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-24 17:29:28 +01:00
fixed erl_prettypr in encode_term
This commit is contained in:
parent
084d0c4efe
commit
f5c9dfbc93
@ -193,7 +193,8 @@ to_bool(_) -> false.
|
||||
|
||||
encode_term(Term) ->
|
||||
escape(list_to_binary(
|
||||
erl_prettypr:format(erl_syntax:abstract(Term)))).
|
||||
erl_prettypr:format(erl_syntax:abstract(Term),
|
||||
[{paper, 65535}, {ribbon, 65535}]))).
|
||||
|
||||
decode_term(Bin) ->
|
||||
Str = binary_to_list(<<Bin/binary, ".">>),
|
||||
|
Loading…
Reference in New Issue
Block a user