mirror of
https://github.com/go-gitea/gitea
synced 2025-07-23 02:38:35 +00:00
readd .markdown class to all markup renderers (#8357)
fixes #8299, a regression from 867f46f
.
unlike it's name suggests, the .markdown class is needed for most markup types.
a future refactor should rename this class to something more generic
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
</div>
|
||||
</h4>
|
||||
<div class="ui attached table unstackable segment">
|
||||
<div class="file-view {{if .IsMarkup}}{{.MarkupType}}{{else if .IsRenderedHTML}}plain-text{{else if .IsTextFile}}code-view{{end}} has-emoji">
|
||||
<div class="file-view {{if .IsMarkup}}{{.MarkupType}} markdown{{else if .IsRenderedHTML}}plain-text{{else if .IsTextFile}}code-view{{end}} has-emoji">
|
||||
{{if .IsMarkup}}
|
||||
{{if .FileContent}}{{.FileContent | Safe}}{{end}}
|
||||
{{else if .IsRenderedHTML}}
|
||||
|
Reference in New Issue
Block a user