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:
@@ -25,10 +25,10 @@ func (e *LinkElement) Render(w io.Writer, node *bf.Node, tr *TermRenderer) error
|
||||
}
|
||||
if len(node.LinkData.Destination) > 0 {
|
||||
el := &BaseElement{
|
||||
Token: resolveRelativeURL(tr.BaseURL, string(node.LinkData.Destination)),
|
||||
Pre: " (",
|
||||
Post: ")",
|
||||
Style: Link,
|
||||
Token: resolveRelativeURL(tr.BaseURL, string(node.LinkData.Destination)),
|
||||
Prefix: " (",
|
||||
Suffix: ")",
|
||||
Style: Link,
|
||||
}
|
||||
el.Render(w, node, tr)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user