From da2f5aac0eb2124654fe8e8c76f978cab31e9729 Mon Sep 17 00:00:00 2001 From: Emmanuel ROHEE Date: Wed, 20 Aug 2014 15:41:14 +0200 Subject: [PATCH] Sanitize message text content only if the type of current message in the ng-repeat loop is "text" In case of image message, the body can be a JSON object (ImageInfo) and ngSanitize does not like that (ie it generates exception in the console) --- webclient/room/room.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webclient/room/room.html b/webclient/room/room.html index 99b0bf681b..e89bf670e3 100644 --- a/webclient/room/room.html +++ b/webclient/room/room.html @@ -40,8 +40,8 @@
- - {{ msg.content.body }} + +