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 = "";