aboutsummaryrefslogtreecommitdiff
path: root/ui/messages/html/horizontalline.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/horizontalline.go
parentaf99c76d460f190e873ed88432c9a8b08324200b (diff)
Fix rendering formatted m.emotes
Diffstat (limited to 'ui/messages/html/horizontalline.go')
-rw-r--r--ui/messages/html/horizontalline.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/messages/html/horizontalline.go b/ui/messages/html/horizontalline.go
index 32761aa..ff82397 100644
--- a/ui/messages/html/horizontalline.go
+++ b/ui/messages/html/horizontalline.go
@@ -36,6 +36,11 @@ func NewHorizontalLineEntity() *HorizontalLineEntity {
}}
}
+func (he *HorizontalLineEntity) AdjustStyle(fn AdjustStyleFunc) Entity {
+ he.BaseEntity = he.BaseEntity.AdjustStyle(fn).(*BaseEntity)
+ return he
+}
+
func (he *HorizontalLineEntity) Clone() Entity {
return NewHorizontalLineEntity()
}