summaryrefslogtreecommitdiff
path: root/src/ejabberd_commands_doc.erl
diff options
context:
space:
mode:
authorMickaël Rémond <mickael.remond@process-one.net>2016-02-04 15:48:56 +0100
committerMickaël Rémond <mickael.remond@process-one.net>2016-02-04 15:48:56 +0100
commite207d0af5657cd0a79b0c987630d50af1d494ff8 (patch)
treee2bc5d3753c7c6a0d0bcb1ec6531ad44d01cb2be /src/ejabberd_commands_doc.erl
parentHandle spaces in vsn attribute of app file when installing deps (#940) (diff)
parentConvert tests to Fast XML (diff)
Merge pull request #943 from processone/deps-cleanup
Dependencies rework
Diffstat (limited to 'src/ejabberd_commands_doc.erl')
-rw-r--r--src/ejabberd_commands_doc.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ejabberd_commands_doc.erl b/src/ejabberd_commands_doc.erl
index 277ed0c7..85b1064b 100644
--- a/src/ejabberd_commands_doc.erl
+++ b/src/ejabberd_commands_doc.erl
@@ -32,7 +32,7 @@
-include("ejabberd_commands.hrl").
-include("ejabberd.hrl").
--define(RAW(V), if HTMLOutput -> xml:crypt(iolist_to_binary(V)); true -> iolist_to_binary(V) end).
+-define(RAW(V), if HTMLOutput -> fxml:crypt(iolist_to_binary(V)); true -> iolist_to_binary(V) end).
-define(TAG(N), if HTMLOutput -> [<<"<", ??N, "/>">>]; true -> md_tag(N, <<"">>) end).
-define(TAG(N, V), if HTMLOutput -> [<<"<", ??N, ">">>, V, <<"</", ??N, ">">>]; true -> md_tag(N, V) end).
-define(TAG(N, C, V), if HTMLOutput -> [<<"<", ??N, " class='", C, "'>">>, V, <<"</", ??N, ">">>]; true -> md_tag(N, V) end).