Просмотр исходного кода

docs: change <module> to {module} so markdown render will not crash

<module> is treated as an HTML tag
Zaiming (Stone) Shi 4 лет назад
Родитель
Сommit
fcb7c2c70f
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      apps/emqx_rule_engine/src/emqx_rule_engine_schema.erl

+ 2 - 1
apps/emqx_rule_engine/src/emqx_rule_engine_schema.erl

@@ -118,7 +118,8 @@ fields("user_provided_function") ->
     [ {function, sc(binary(),
         #{ desc => """
 The user provided function. Should be in the format: '{module}:{function}'.<br>
-Where the <module> is the erlang callback module and the {function} is the erlang function.<br>
+Where {module} is the Erlang callback module and {function} is the Erlang function.
+<br>
 To write your own function, checkout the function <code>console</code> and
 <code>republish</code> in the source file:
 <code>apps/emqx_rule_engine/src/emqx_rule_outputs.erl</code> as an example.