mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-05 08:27:18 -04:00
Add default styles for horizontal rule element
This commit is contained in:
+1
-2
@@ -91,10 +91,9 @@ func (tr *TermRenderer) NewElement(node *bf.Node) Element {
|
||||
}
|
||||
case bf.HorizontalRule:
|
||||
return Element{
|
||||
Entering: "\n",
|
||||
Entering: "",
|
||||
Exiting: "\n",
|
||||
Renderer: &BaseElement{
|
||||
Token: "---",
|
||||
Style: ctx.style[HorizontalRule],
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user