mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-05 08:27:18 -04:00
Fix cascading style attributes from BlockElements
This commit is contained in:
+1
-1
@@ -91,5 +91,5 @@ func (s BlockStack) Current() BlockElement {
|
||||
func (s BlockStack) With(child StylePrimitive) StylePrimitive {
|
||||
sb := StyleBlock{}
|
||||
sb.StylePrimitive = child
|
||||
return cascadeStyle(s.Current().Style, sb, true).StylePrimitive
|
||||
return cascadeStyle(s.Current().Style, sb, false).StylePrimitive
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user