mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Fix xmlcdata type
This commit is contained in:
parent
8cef084bd2
commit
63032e1397
@ -81,7 +81,7 @@ process(_Path, _Request) ->
|
|||||||
[#xmlcdata{cdata = <<"400 Bad Request">>}]}}.
|
[#xmlcdata{cdata = <<"400 Bad Request">>}]}}.
|
||||||
|
|
||||||
get_human_html_xmlel() ->
|
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}]},
|
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