25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Fix xmlcdata type

This commit is contained in:
Badlop 2010-06-18 15:58:23 +02:00
parent 8cef084bd2
commit 63032e1397

View File

@ -81,7 +81,7 @@ process(_Path, _Request) ->
[#xmlcdata{cdata = <<"400 Bad Request">>}]}}.
get_human_html_xmlel() ->
Heading = "ejabberd " ++ atom_to_list(?MODULE) ++ " v" ++ ?MOD_HTTP_BIND_VERSION,
Heading = list_to_binary("ejabberd " ++ atom_to_list(?MODULE) ++ " v" ++ ?MOD_HTTP_BIND_VERSION),
H = #xmlel{name = h1, children = [#xmlcdata{cdata = Heading}]},
Par1 = #xmlel{name = p, children =
[#xmlcdata{cdata = <<"An implementation of ">>},