浏览代码

Merge pull request #4750 from fatalbanana/docs_rspamd_html

[Minor] docs: rspamd_html: fix some copypasta
tags/3.8.0
Vsevolod Stakhov 5 个月前
父节点
当前提交
8b59e9d9ec
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4
    3
      src/lua/lua_html.cxx

+ 4
- 3
src/lua/lua_html.cxx 查看文件

LUA_FUNCTION_DEF(html_tag, get_style); 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); LUA_FUNCTION_DEF(html_tag, get_attribute);



正在加载...
取消
保存