From b27149b5ba029601742b2dc9e45ebed32f967a0e Mon Sep 17 00:00:00 2001 From: retoor Date: Fri, 25 Jul 2025 17:10:03 +0200 Subject: [PATCH] Update. --- src/snek/service/channel_message.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/snek/service/channel_message.py b/src/snek/service/channel_message.py index a8dbc55..9c66af7 100644 --- a/src/snek/service/channel_message.py +++ b/src/snek/service/channel_message.py @@ -71,7 +71,7 @@ class ChannelMessageService(BaseService): ) try: template = self.app.jinja2_env.get_template("message.html") - model["html"] = whitelist_attributes(template.render(**context)) + model["html"] = template.render(**context) except Exception as ex: print(ex, flush=True) @@ -127,7 +127,7 @@ class ChannelMessageService(BaseService): } ) template = self.app.jinja2_env.get_template("message.html") - model["html"] = whitelist_attributes(template.render(**context)) + model["html"] = template.render(**context) return await super().save(model) async def offset(self, channel_uid, page=0, timestamp=None, page_size=30):