diff options
author | Hans Bolinder <[email protected]> | 2017-06-19 15:54:54 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2017-09-05 11:02:25 +0200 |
commit | 1f13f9db23b2015b45dd501a8ebb939c3c9994f1 (patch) | |
tree | 30bfa4015558b83f15da26a964810bf9da16d76e /lib/edoc | |
parent | 7eaaf5dd6140eda8b3892ef23e1fcf70be90d7c4 (diff) | |
download | otp-1f13f9db23b2015b45dd501a8ebb939c3c9994f1.tar.gz otp-1f13f9db23b2015b45dd501a8ebb939c3c9994f1.tar.bz2 otp-1f13f9db23b2015b45dd501a8ebb939c3c9994f1.zip |
edoc: Improve handling of Unicode
Diffstat (limited to 'lib/edoc')
-rw-r--r-- | lib/edoc/src/edoc_types.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/edoc/src/edoc_types.erl b/lib/edoc/src/edoc_types.erl index ccc3169767..510f9513b2 100644 --- a/lib/edoc/src/edoc_types.erl +++ b/lib/edoc/src/edoc_types.erl @@ -107,7 +107,7 @@ to_xml(#t_paren{type = T}, Env) -> to_xml(#t_nonempty_list{type = T}, Env) -> {nonempty_list, [wrap_utype(T, Env)]}; to_xml(#t_atom{val = V}, _Env) -> - {atom, [{value, io_lib:write(V)}], []}; + {atom, [{value, atom_to_list(V)}], []}; to_xml(#t_integer{val = V}, _Env) -> {integer, [{value, integer_to_list(V)}], []}; to_xml(#t_integer_range{from = From, to = To}, _Env) -> |