diff --git a/src/main/java/org/support/project/web/logic/SanitizingLogic.java b/src/main/java/org/support/project/web/logic/SanitizingLogic.java index bd9df3b43..369a34317 100644 --- a/src/main/java/org/support/project/web/logic/SanitizingLogic.java +++ b/src/main/java/org/support/project/web/logic/SanitizingLogic.java @@ -82,7 +82,7 @@ public boolean apply(String s) { .allowElements("a", "label", "noscript", "h1", "h2", "h3", "h4", "h5", "h6", "p", "i", "b", "u", "strong", "em", "small", "big", "pre", "code", "cite", "samp", "sub", "sup", "strike", "center", "blockquote", "hr", "br", "col", "font", "map", "span", "div", "img", "ul", "ol", "li", "dd", "dt", "dl", "tbody", "thead", "tfoot", "table", "td", "th", "tr", "colgroup", "fieldset", "legend", "del", - "var") + "var", "details", "summary") .allowAttributes("id").matching(HTML_ID).globally() .allowAttributes("slide").matching(NUMBER).globally() .allowAttributes("transition").matching(HTML_CLASS).globally() diff --git a/src/main/webapp/css/common.css b/src/main/webapp/css/common.css index 53f8feb56..452b27088 100644 --- a/src/main/webapp/css/common.css +++ b/src/main/webapp/css/common.css @@ -2,6 +2,11 @@ body { padding-top: 70px; } +summary { + display: list-item; + cursor: pointer; +} + /* ------------------------------------- / / Footer /* ------------------------------------- */