Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
icons: Do not allow stroke property via the style tag in svgs.
Shubham Padiae2011fcd97fe
diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.pyindex 56c187b6758..727c1c39658 100644--- a/tools/linter_lib/custom_check.py+++ b/tools/linter_lib/custom_check.py@@ -990,6 +990,11 @@ svg_rules = RuleList("description": "System icons ignore fill-rule values, so do not include the fill-rule property.","include_only": {"web/shared/icons/", "web/images/icons/"},},+ {+ "pattern": "fill-rule:",+ "description": "System icons ignore fill-rule values, so do not include the fill-rule property.",+ "include_only": {"web/shared/icons/", "web/images/icons/"},+ },{"pattern": r"stroke=(['\"])(.*?)\1","description": "System icons ignore stroke values, so do not include the stroke property.",