]> source.dussan.org Git - rspamd.git/commitdiff
Treat meta tags as embedded tags
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 18 Feb 2016 10:16:06 +0000 (10:16 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 18 Feb 2016 11:04:58 +0000 (11:04 +0000)
Issue: #501
Reported by: @AlexeySa, @moisseev

src/libserver/html.c

index e1181764d9f6d61b94292e59e43489ff3d7b5b9a..a62bc683422a3448ccd5a891dd87b5eb010993e3 100644 (file)
@@ -276,7 +276,7 @@ static struct html_tag_def tag_defs[] = {
        {Tag_LISTING, "listing", (CM_BLOCK | CM_OBSOLETE)},
        {Tag_MAP, "map", (CM_INLINE)},
        {Tag_MENU, "menu", (CM_BLOCK | CM_OBSOLETE)},
-       {Tag_META, "meta", (CM_HEAD | CM_EMPTY)},
+       {Tag_META, "meta", (CM_HEAD | CM_INLINE | CM_EMPTY)},
        {Tag_NOFRAMES, "noframes", (CM_BLOCK | CM_FRAMES)},
        {Tag_NOSCRIPT, "noscript", (CM_BLOCK | CM_INLINE | CM_MIXED)},
        {Tag_OBJECT, "object",