summaryrefslogtreecommitdiffstats
path: root/src/lua/lua_html.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-01 16:41:32 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-01 17:16:25 +0000
commit6750b4c303c84ff82fa578ad8d49f8f84e5bcf0d (patch)
treed6ece5f44ab0da55493b280e22e13964cafe5fa9 /src/lua/lua_html.c
parent79332535aced87ff451d87fadefb9f222f3c3ee1 (diff)
downloadrspamd-6750b4c303c84ff82fa578ad8d49f8f84e5bcf0d.tar.gz
rspamd-6750b4c303c84ff82fa578ad8d49f8f84e5bcf0d.zip
[Feature] Parse <link> HTML tags
Diffstat (limited to 'src/lua/lua_html.c')
-rw-r--r--src/lua/lua_html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_html.c b/src/lua/lua_html.c
index b680dae4e..0fdd61929 100644
--- a/src/lua/lua_html.c
+++ b/src/lua/lua_html.c
@@ -638,7 +638,7 @@ lua_html_tag_get_extra (lua_State *L)
if (tag) {
if (tag->extra) {
- if (tag->id == Tag_A || tag->id == Tag_IFRAME) {
+ if (tag->id == Tag_A || tag->id == Tag_IFRAME || tag->id == Tag_LINK) {
/* For A that's URL */
purl = lua_newuserdata (L, sizeof (gpointer));
*purl = tag->extra;