Adjust HTML for view action
This commit is contained in:
@@ -667,7 +667,7 @@ func nomark(cfg *config.Config, title string, text string) (string, string, stri
|
||||
nextLine(&s)
|
||||
blockBegin(&s, blockParagraph)
|
||||
s.text.WriteString("}}}")
|
||||
s.html.WriteString("<span class=\"markup\">}}}</span><br />\n")
|
||||
s.html.WriteString("<span class=\"markup\">}}}</span>")
|
||||
} else if s.block != blockMath && s.block != blockRaw && string(line) == "%%%" {
|
||||
blockEnd(&s, blockMath)
|
||||
nextLine(&s)
|
||||
|
||||
@@ -33,14 +33,12 @@
|
||||
<a href="/?a=upload">Upload</a>
|
||||
<a href="/?a=info">Info</a>
|
||||
</div>
|
||||
|
||||
{{if .Diff}}
|
||||
<h1>Diff</h1>
|
||||
<div><code>
|
||||
{{.Diff | fmtdiff}}
|
||||
</code></div>
|
||||
{{end}}
|
||||
|
||||
<div><code>
|
||||
{{.Diff | fmtdiff}}</code></div>
|
||||
{{end}}
|
||||
<h1><a href="/?a=search&t=content&w={{.Name | urlquery}}">{{.Title}}</a></h1>
|
||||
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user