print extra attributes for image tag
parent
2dd91c7add
commit
9aaf5e3dd6
4
html.go
4
html.go
|
@ -604,7 +604,9 @@ func (r *HTMLRenderer) RenderNode(w io.Writer, node *Node, entering bool) WalkSt
|
|||
r.out(w, []byte(`" title="`))
|
||||
escapeHTML(w, node.LinkData.Title)
|
||||
}
|
||||
r.out(w, []byte(`" />`))
|
||||
r.out(w, []byte(`" `))
|
||||
r.out(w, []byte(attrs.String()))
|
||||
r.out(w, []byte(`/>`))
|
||||
}
|
||||
}
|
||||
case Code:
|
||||
|
|
Loading…
Reference in New Issue