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

Merge pull request #4750 from fatalbanana/docs_rspamd_html

[Minor] docs: rspamd_html: fix some copypasta
tags/3.8.0
Vsevolod Stakhov 5 месяцев назад
Родитель
Сommit
8b59e9d9ec
Аккаунт пользователя с таким Email не найден
1 измененных файлов: 4 добавлений и 3 удалений
  1. 4
    3
      src/lua/lua_html.cxx

+ 4
- 3
src/lua/lua_html.cxx Просмотреть файл

@@ -172,9 +172,10 @@ LUA_FUNCTION_DEF(html_tag, get_content_length);
LUA_FUNCTION_DEF(html_tag, get_style);

/***
* @method html_tag:get_style()
* Returns style calculated for the element
* @return {table} table associated with the style
* @method html_tag:get_attribute(name)
* Returns value of attribute for the element
* Refer to `html_components_map` in `src/libserver/html/html.cxx` for recognised names
* @return {string|nil} value of the attribute
*/
LUA_FUNCTION_DEF(html_tag, get_attribute);


Загрузка…
Отмена
Сохранить