aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-10-21 13:20:21 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-10-21 13:20:21 +0100
commit6defc0e543f8a18ea843228be4c1fb8ae12f65dc (patch)
tree9a07fa3c9ee7cd017eff509c6620c623b660230e
parent044f90245af052b7742271843fe3918439dfbe3a (diff)
downloadrspamd-6defc0e543f8a18ea843228be4c1fb8ae12f65dc.tar.gz
rspamd-6defc0e543f8a18ea843228be4c1fb8ae12f65dc.zip
[Fix] Do not treat script content as text
MFH: rspamd-1.6
-rw-r--r--src/libserver/html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/html.c b/src/libserver/html.c
index d22c280b4..42b2447e0 100644
--- a/src/libserver/html.c
+++ b/src/libserver/html.c
@@ -122,7 +122,7 @@ static struct html_tag_def tag_defs[] = {
TAG_DEF(Tag_RUBY, "ruby", (CM_INLINE)),
TAG_DEF(Tag_S, "s", (CM_INLINE)),
TAG_DEF(Tag_SAMP, "samp", (CM_INLINE)),
- TAG_DEF(Tag_SCRIPT, "script", (CM_HEAD | CM_MIXED | CM_BLOCK | CM_INLINE)),
+ TAG_DEF(Tag_SCRIPT, "script", (CM_HEAD | CM_MIXED)),
TAG_DEF(Tag_SELECT, "select", (CM_INLINE | CM_FIELD)),
TAG_DEF(Tag_SMALL, "small", (CM_INLINE)),
TAG_DEF(Tag_SPAN, "span", (CM_BLOCK|FL_BLOCK)),