Skip to content

Commit

Permalink
Docs: Separate tags with commas in markdown docs
Browse files Browse the repository at this point in the history
  • Loading branch information
badlop committed Jan 4, 2024
1 parent d585b1f commit fc13fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ejabberd_commands_doc.erl
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ gen_doc(#ejabberd_commands{name=Name, tags=Tags, desc=Desc, longdesc=LongDesc,
[?TAG(dl, [gen_param(RName, Type, ResultDesc, HTMLOutput)])]
end
end,
TagsText = [?RAW("*`"++atom_to_list(Tag)++"`* ") || Tag <- Tags],
TagsText = ?RAW(string:join(["*`"++atom_to_list(Tag)++"`*" || Tag <- Tags], ", ")),
IsDefinerMod = case Definer of
unknown -> false;
_ -> lists:member(gen_mod, proplists:get_value(behaviour, Definer:module_info(attributes)))
Expand Down

0 comments on commit fc13fdc

Please sign in to comment.