summaryrefslogtreecommitdiffstats
path: root/modules/markup/html.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/markup/html.go')
-rw-r--r--modules/markup/html.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/markup/html.go b/modules/markup/html.go
index dbfc8dbe85..3e976929c7 100644
--- a/modules/markup/html.go
+++ b/modules/markup/html.go
@@ -323,6 +323,7 @@ func createCodeLink(href, content string) *html.Node {
code := &html.Node{
Type: html.ElementNode,
Data: atom.Code.String(),
+ Attr: []html.Attribute{{Key: "class", Val: "nohighlight"}},
}
code.AppendChild(text)