Problem: Keywords are links in read-only view
All checks were successful
continuous-integration/drone/push Build is passing
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:
parent
d569fd560f
commit
a8fb7f62ad
2
main.go
2
main.go
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user