mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-06 00:47:15 -04:00
Fix cascading style attributes from BlockElements
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ func (e *ParagraphElement) Render(w io.Writer, ctx RenderContext) error {
|
||||
}
|
||||
be := BlockElement{
|
||||
Block: &bytes.Buffer{},
|
||||
Style: cascadeStyle(bs.Current().Style, rules, true),
|
||||
Style: cascadeStyle(bs.Current().Style, rules, false),
|
||||
}
|
||||
bs.Push(be)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user