aboutsummaryrefslogtreecommitdiff
path: root/ui/messages/html/blockquote.go
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2020-02-19 21:54:53 +0200
committerTulir Asokan <tulir@maunium.net>2020-02-19 21:54:53 +0200
commit15e1d3f87c5e18f3429c49d21b30e66fb2a9cff7 (patch)
tree44146fe934a20cd688e83d5d059bd074b2ff633f /ui/messages/html/blockquote.go
parentaf99c76d460f190e873ed88432c9a8b08324200b (diff)
Fix rendering formatted m.emotes
Diffstat (limited to 'ui/messages/html/blockquote.go')
-rw-r--r--ui/messages/html/blockquote.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/messages/html/blockquote.go b/ui/messages/html/blockquote.go
index 288d86d..bb7c009 100644
--- a/ui/messages/html/blockquote.go
+++ b/ui/messages/html/blockquote.go
@@ -40,6 +40,11 @@ func NewBlockquoteEntity(children []Entity) *BlockquoteEntity {
}}
}
+func (be *BlockquoteEntity) AdjustStyle(fn AdjustStyleFunc) Entity {
+ be.BaseEntity = be.BaseEntity.AdjustStyle(fn).(*BaseEntity)
+ return be
+}
+
func (be *BlockquoteEntity) Clone() Entity {
return &BlockquoteEntity{ContainerEntity: be.ContainerEntity.Clone().(*ContainerEntity)}
}