commit 070b57b: [Minor] Fix span flags

Vsevolod Stakhov vsevolod at highsecure.ru
Tue Jul 6 13:49:05 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-07-06 13:55:18 +0100
URL: https://github.com/rspamd/rspamd/commit/070b57bd415d0e4df3d7d311bcce0ce841505b9b

[Minor] Fix span flags

---
 src/libserver/html/html_tag_defs.hxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libserver/html/html_tag_defs.hxx b/src/libserver/html/html_tag_defs.hxx
index fe08d081b..5854d447b 100644
--- a/src/libserver/html/html_tag_defs.hxx
+++ b/src/libserver/html/html_tag_defs.hxx
@@ -115,7 +115,7 @@ static const auto html_tag_defs_array = rspamd::array_of<html_tag_def>(
 		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)),
+		TAG_DEF(Tag_SPAN, "span", (CM_NO_INDENT | FL_BLOCK)),
 		TAG_DEF(Tag_STRIKE, "strike", (CM_INLINE)),
 		TAG_DEF(Tag_STRONG, "strong", (CM_INLINE)),
 		TAG_DEF(Tag_STYLE, "style", (CM_HEAD)),


More information about the Commits mailing list