mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Fix xmlcdata binary content
This commit is contained in:
parent
a6c0a3d59b
commit
ac6ae9e8dd
@ -170,7 +170,7 @@ process(_, _Request) ->
|
|||||||
|
|
||||||
%% Code copied from mod_http_bind.erl and customized
|
%% Code copied from mod_http_bind.erl and customized
|
||||||
get_human_html_xmlel() ->
|
get_human_html_xmlel() ->
|
||||||
Heading = "ejabberd " ++ atom_to_list(?MODULE),
|
Heading = list_to_binary("ejabberd " ++ atom_to_list(?MODULE)),
|
||||||
H = #xmlel{name = h1, children = [#xmlcdata{cdata = Heading}]},
|
H = #xmlel{name = h1, children = [#xmlcdata{cdata = Heading}]},
|
||||||
Par1 = #xmlel{name = p, children =
|
Par1 = #xmlel{name = p, children =
|
||||||
[#xmlcdata{cdata = <<"An implementation of ">>},
|
[#xmlcdata{cdata = <<"An implementation of ">>},
|
||||||
|
Loading…
Reference in New Issue
Block a user