From cc5b1faae4a045290ef0bc784b13da1992a040bb Mon Sep 17 00:00:00 2001 From: Khaja Nizamuddin Date: Thu, 11 Jan 2018 23:47:20 +0530 Subject: [PATCH] html messages settings fix --- src/assets/embed/ana-web-chat-plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assets/embed/ana-web-chat-plugin.js b/src/assets/embed/ana-web-chat-plugin.js index 2db7ef0..7a86944 100644 --- a/src/assets/embed/ana-web-chat-plugin.js +++ b/src/assets/embed/ana-web-chat-plugin.js @@ -41,7 +41,7 @@ let stompEndpoint = base.getAttr(script, "endpoint"); let businessId = base.getAttr(script, "businessid"); let apiEndpoint = base.getAttr(script, "api-endpoint"); - let htmlMessages = base.getAttr(script, "html-messages") || true; + let htmlMessages = (base.getAttr(script, "html-messages") === 'true' ? true : false) let flowId = base.getAttr(script, "flowid"); let fileUploadUrl = "";