From c0246677a692de804ffe1bb5f7d630fb002dd128 Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 7 Apr 2023 23:30:04 +0200 Subject: Fix markup background, improve wiki rendering (#23750) Fix regression from https://github.com/go-gitea/gitea/pull/23578. Only visible on arc-green. Before: Screenshot 2023-03-27 at 19 14 21 After: Screenshot 2023-03-27 at 19 14 05 Fixes: https://github.com/go-gitea/gitea/issues/20625 Fixes: https://github.com/go-gitea/gitea/issues/23718 --- templates/repo/wiki/pages.tmpl | 2 +- templates/repo/wiki/view.tmpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'templates') diff --git a/templates/repo/wiki/pages.tmpl b/templates/repo/wiki/pages.tmpl index 9d3a3e8061..743574d0a5 100644 --- a/templates/repo/wiki/pages.tmpl +++ b/templates/repo/wiki/pages.tmpl @@ -21,7 +21,7 @@ {{.Name}} {{$timeSince := TimeSinceUnix .UpdatedUnix $.locale}} - {{$.locale.Tr "repo.wiki.last_updated" $timeSince | Safe}} + {{$.locale.Tr "repo.wiki.last_updated" $timeSince | Safe}} {{end}} diff --git a/templates/repo/wiki/view.tmpl b/templates/repo/wiki/view.tmpl index 1aa21b906a..a1d1c04751 100644 --- a/templates/repo/wiki/view.tmpl +++ b/templates/repo/wiki/view.tmpl @@ -65,8 +65,8 @@

{{.FormatWarning}}

{{end}} -
-
+
+
{{template "repo/unicode_escape_prompt" dict "EscapeStatus" .EscapeStatus "root" $}} {{.content | Safe}}
-- cgit v1.2.3