From 218e2556bace285e992f7d3a92419cc36ac6b421 Mon Sep 17 00:00:00 2001 From: RogerHaase Date: Thu, 20 Feb 2025 14:06:53 -0700 Subject: [PATCH 1/2] fix CSP warning, remove inline style on moin-options-for-javascript #1816 --- src/moin/static/css/common.css | 1 + src/moin/templates/base.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/moin/static/css/common.css b/src/moin/static/css/common.css index 1e0d3e171..ca84fc781 100644 --- a/src/moin/static/css/common.css +++ b/src/moin/static/css/common.css @@ -388,6 +388,7 @@ div.no-borders, #moin-creditlogos a { display: grid; } #moin-credits-container { display: flex; width: 100%; justify-content: space-between; align-items: end; margin-bottom: 10pt; } +#moin-options-for-javascript {display: none} /* ordered lists */ ol, diff --git a/src/moin/templates/base.html b/src/moin/templates/base.html index ab26560c5..f819a2c0f 100644 --- a/src/moin/templates/base.html +++ b/src/moin/templates/base.html @@ -75,7 +75,7 @@

Extend this block only if you want to change layout. If you want to put content, extend layout.html and use placeholders item and content.

{%- endblock %} -