aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-23 17:01:00 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-23 17:01:00 +0100
commit09b84d4eabd808c638b48de06d0305480947fb2e (patch)
treee022b71ab2659f10b08f76652047156716a76b39 /src
parent34bed7350efbdd0a3b135b4b7dbf508bdbae9c1a (diff)
downloadrspamd-09b84d4eabd808c638b48de06d0305480947fb2e.tar.gz
rspamd-09b84d4eabd808c638b48de06d0305480947fb2e.zip
Fix height attribute parsing.
Diffstat (limited to 'src')
-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 2ee8ac1cd..4cffb227b 100644
--- a/src/libserver/html.c
+++ b/src/libserver/html.c
@@ -992,7 +992,7 @@ rspamd_html_parse_tag_component (rspamd_mempool_t *pool,
tag->params = g_list_prepend (tag->params, comp);
ret = TRUE;
}
- else if (len == 5 && g_ascii_strncasecmp (begin, "height", len) == 0) {
+ else if (len == 6 && g_ascii_strncasecmp (begin, "height", len) == 0) {
comp = rspamd_mempool_alloc (pool, sizeof (*comp));
comp->type = RSPAMD_HTML_COMPONENT_HEIGHT;
comp->start = NULL;