mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-05 08:27:18 -04:00
Clean up pre/post ambiguity
This commit is contained in:
@@ -19,10 +19,10 @@ func (e *ImageElement) Render(w io.Writer, node *bf.Node, tr *TermRenderer) erro
|
||||
}
|
||||
if len(node.LinkData.Destination) > 0 {
|
||||
el := &BaseElement{
|
||||
Token: resolveRelativeURL(tr.BaseURL, string(node.LinkData.Destination)),
|
||||
Pre: " [Image: ",
|
||||
Post: "]",
|
||||
Style: Link,
|
||||
Token: resolveRelativeURL(tr.BaseURL, string(node.LinkData.Destination)),
|
||||
Prefix: " [Image: ",
|
||||
Suffix: "]",
|
||||
Style: Link,
|
||||
}
|
||||
el.Render(w, node, tr)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user