Browse Source

Merge pull request #4750 from fatalbanana/docs_rspamd_html

[Minor] docs: rspamd_html: fix some copypasta
tags/3.8.0
Vsevolod Stakhov 4 months ago
parent
commit
8b59e9d9ec
No account linked to committer's email address
1 changed files with 4 additions and 3 deletions
  1. 4
    3
      src/lua/lua_html.cxx

+ 4
- 3
src/lua/lua_html.cxx View File

@@ -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);


Loading…
Cancel
Save