From: Vsevolod Stakhov Date: Wed, 23 Jun 2021 11:26:15 +0000 (+0100) Subject: [Minor] Head tags are default invisible X-Git-Tag: 3.0~252 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b31f8e288bd2c6a8dfca92eab4bd0456960ed1eb;p=rspamd.git [Minor] Head tags are default invisible --- diff --git a/src/libserver/html/html.cxx b/src/libserver/html/html.cxx index 694a172b2..6a7a6facf 100644 --- a/src/libserver/html/html.cxx +++ b/src/libserver/html/html.cxx @@ -1655,6 +1655,9 @@ html_process_input(rspamd_mempool_t *pool, if (tag->flags & CM_BLOCK) { tag->block->set_display(css::css_display_value::DISPLAY_BLOCK); } + else if (tag->flags & CM_HEAD) { + tag->block->set_display(css::css_display_value::DISPLAY_HIDDEN); + } else { tag->block->set_display(css::css_display_value::DISPLAY_INLINE); }