fixed erl_prettypr in encode_term

This commit is contained in:
Matthias Rieber 2015-05-17 19:15:52 +02:00
parent 084d0c4efe
commit f5c9dfbc93
1 changed files with 2 additions and 1 deletions

View File

@ -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, ".">>),