mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Tell dialyzer that gen_tags only cares about markdown output, not html
This commit is contained in:
parent
655dcbcb74
commit
8b6c90c2d9
@ -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]].
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user