mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-06 08:57:14 -04:00
Write styled prefix to current block
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ func (e *BlockElement) Render(w io.Writer, ctx RenderContext) error {
|
||||
bs.Push(*e)
|
||||
|
||||
renderText(w, bs.Parent().Style.StylePrimitive, e.Style.Prefix)
|
||||
renderText(w, bs.Current().Style.StylePrimitive, e.Style.StyledPrefix)
|
||||
renderText(bs.Current().Block, bs.Current().Style.StylePrimitive, e.Style.StyledPrefix)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user