Problem: Keywords are links in read-only view
All checks were successful
continuous-integration/drone/push Build is passing

Solution: Don't like the keywords in read-only view
This commit is contained in:
Peter Stuifzand 2022-01-15 16:22:17 +01:00
parent d569fd560f
commit a8fb7f62ad

View File

@ -875,7 +875,7 @@ func (h *indexHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
} }
if format == "html" { if format == "html" {
pageText = metaKV.ReplaceAllString(pageText, "**[[$1]]**: $2") pageText = metaKV.ReplaceAllString(pageText, "**$1**: $2")
pageText = renderLinks(pageText, false) pageText = renderLinks(pageText, false)
pageText = renderMarkdown2(pageText) pageText = renderMarkdown2(pageText)