From 38274c06e77d7234826be22768ae8013b72ca56f Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 24 Apr 2025 06:02:03 +0000 Subject: [PATCH] Add missing allowed CSS properties to the CommonMark Markdown help (#42618). Patch by Kenta Kumojima (user:kumojima). git-svn-id: https://svn.redmine.org/redmine/trunk@23710 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .../common_mark/en/wiki_syntax_detailed_common_mark.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/help/wiki_syntax/common_mark/en/wiki_syntax_detailed_common_mark.html.erb b/app/views/help/wiki_syntax/common_mark/en/wiki_syntax_detailed_common_mark.html.erb index a47a570f1..193606ab2 100644 --- a/app/views/help/wiki_syntax/common_mark/en/wiki_syntax_detailed_common_mark.html.erb +++ b/app/views/help/wiki_syntax/common_mark/en/wiki_syntax_detailed_common_mark.html.erb @@ -359,8 +359,8 @@ It can be expanded by clicking a link.

The style attribute can be used in raw HTML to apply custom formatting. The following CSS properties are allowed:


   color background-color
-  width
-  height
+  width min-width max-width
+  height min-height max-height
   padding padding-left padding-right padding-top padding-bottom
   margin margin-left margin-right margin-top margin-bottom
   border border-left border-right border-top border-bottom border-radius border-style border-collapse border-spacing