From 40671848a2803f37092f1c405a4ae99ea008e81c Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 12 Feb 2021 15:15:53 -0500 Subject: [PATCH] feat: allow href in topic events --- templates/partials/topic/event.tpl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/templates/partials/topic/event.tpl b/templates/partials/topic/event.tpl index 44ac4dd..9768f46 100644 --- a/templates/partials/topic/event.tpl +++ b/templates/partials/topic/event.tpl @@ -2,7 +2,13 @@
- {text}  + + {{{ if ../href }}} + {../text}  + {{{ else }}} + {text}  + {{{ end }}} + {{{ if user }}} {{{ if !./user.system }}}{buildAvatar(user, "xs", true)} {./user.username} {{{ end }}}