aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/diff
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2025-04-05 11:56:48 +0800
committerGitHub <noreply@github.com>2025-04-05 11:56:48 +0800
commite1c2d05bde6e42a86cb90c1c07e882bda313cd8f (patch)
tree8783c443aa254fbf7d7e35624b4a63c37ee67363 /templates/repo/diff
parentee6929d96b6d230ede18360cf663f32b5e641910 (diff)
downloadgitea-main.tar.gz
gitea-main.zip
Fix markdown render behaviors (#34122)HEADmain
* Fix #27645 * Add config options `MATH_CODE_BLOCK_DETECTION`, problematic syntaxes are disabled by default * Fix #33639 * Add config options `RENDER_OPTIONS_*`, old behaviors are kept
Diffstat (limited to 'templates/repo/diff')
-rw-r--r--templates/repo/diff/compare.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff/compare.tmpl b/templates/repo/diff/compare.tmpl
index 05cfffd2b7..0c9e3f0698 100644
--- a/templates/repo/diff/compare.tmpl
+++ b/templates/repo/diff/compare.tmpl
@@ -189,7 +189,7 @@
<div class="ui segment flex-text-block tw-gap-4">
{{template "shared/issueicon" .}}
<div class="issue-title tw-break-anywhere">
- {{ctx.RenderUtils.RenderIssueTitle .PullRequest.Issue.Title ($.Repository.ComposeMetas ctx)}}
+ {{ctx.RenderUtils.RenderIssueTitle .PullRequest.Issue.Title ($.Repository.ComposeCommentMetas ctx)}}
<span class="index">#{{.PullRequest.Issue.Index}}</span>
</div>
<a href="{{$.RepoLink}}/pulls/{{.PullRequest.Issue.Index}}" class="ui compact button primary">