From 15e1d3f87c5e18f3429c49d21b30e66fb2a9cff7 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Wed, 19 Feb 2020 21:54:53 +0200 Subject: Fix rendering formatted m.emotes --- ui/messages/html/horizontalline.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ui/messages/html/horizontalline.go') 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() } -- cgit v1.2.3