mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
Updated about
This commit is contained in:
@ -74,6 +74,7 @@ func renderMarkdown(c *gin.Context, title string) {
|
||||
html2 = strings.Replace(html2, s, "<span class='texi' data-expr='"+s[1:len(s)-1]+"'></span>", 1)
|
||||
}
|
||||
|
||||
html2 = strings.Replace(html2, "&#36;", "$", -1)
|
||||
c.HTML(http.StatusOK, "view.tmpl", gin.H{
|
||||
"Title": title,
|
||||
"Body": template.HTML([]byte(html2)),
|
||||
|
Reference in New Issue
Block a user