aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2021-08-23 15:39:01 +0200
committerBadlop <badlop@process-one.net>2021-08-23 15:39:01 +0200
commit8b6c90c2d9ce6029b793f9715e1f3c57554eb2cb (patch)
tree6a5d3a75cee8061b6c5467a4844ecb904cfccb62
parentNew command to produce markdown with tags and their associated commands (diff)
Tell dialyzer that gen_tags only cares about markdown output, not html
-rw-r--r--src/ejabberd_commands_doc.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ejabberd_commands_doc.erl b/src/ejabberd_commands_doc.erl
index 05948fa6c..eec334d04 100644
--- a/src/ejabberd_commands_doc.erl
+++ b/src/ejabberd_commands_doc.erl
@@ -365,6 +365,7 @@ make_tags(HTMLOutput) ->
TagsList = ejabberd_commands:get_tags_commands(1000000),
lists:map(fun(T) -> gen_tags(T, HTMLOutput) end, TagsList).
+-dialyzer({no_match, gen_tags/2}).
gen_tags({TagName, Commands}, HTMLOutput) ->
[?TAG(h1, TagName) | [?TAG(p, ?RAW("* *`"++C++"`*")) || C <- Commands]].