From: Vsevolod Stakhov Date: Mon, 16 Dec 2019 21:21:53 +0000 (+0000) Subject: [Minor] Deal with base flag X-Git-Tag: 2.3~207 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8b1a81a7753ef9751fe464920f39828002b93ab3;p=thirdparty%2Frspamd.git [Minor] Deal with base flag --- diff --git a/src/lua/lua_html.c b/src/lua/lua_html.c index 39a4a77a03..0af0457da3 100644 --- a/src/lua/lua_html.c +++ b/src/lua/lua_html.c @@ -696,7 +696,7 @@ lua_html_tag_get_extra (lua_State *L) if (tag) { if (tag->extra) { - if (tag->flags & FL_HREF) { + if ((tag->flags & FL_HREF) || tag->id == Tag_BASE) { /* For A that's URL */ purl = lua_newuserdata (L, sizeof (gpointer)); *purl = tag->extra;