From: Michael Tremer Date: Thu, 22 Feb 2024 19:14:39 +0000 (+0000) Subject: nopaste: Correctly wrap the content into the section X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=502a3114a1c14d89dbc4f8e992fdc3ce305da0e8;p=ipfire.org.git nopaste: Correctly wrap the content into the section Signed-off-by: Michael Tremer --- diff --git a/src/templates/nopaste/view.html b/src/templates/nopaste/view.html index b0a88117..eaa8bde2 100644 --- a/src/templates/nopaste/view.html +++ b/src/templates/nopaste/view.html @@ -26,28 +26,30 @@ -
- {% if content %} -
- {% module Code(content) %} -
- {% elif entry.mimetype.startswith("image/") %} -
-
- -
-
- {% end %} +
+
+ {% if content %} +
+ {% module Code(content) %} +
+ {% elif entry.mimetype.startswith("image/") %} +
+
+ +
+
+ {% end %} - -
+
{% end block %}