From db9c5b663c2c4cd0ba5946b228b3d7b3a050d393 Mon Sep 17 00:00:00 2001 From: paulobernardo Date: Fri, 28 Aug 2020 11:00:14 -0300 Subject: [PATCH 1/2] feat: html support enabled on messages --- .../components/Messages/components/Message/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Widget/components/Conversation/components/Messages/components/Message/index.js b/src/components/Widget/components/Conversation/components/Messages/components/Message/index.js index d426364..f98394d 100644 --- a/src/components/Widget/components/Conversation/components/Messages/components/Message/index.js +++ b/src/components/Widget/components/Conversation/components/Messages/components/Message/index.js @@ -1,5 +1,5 @@ import React, { PureComponent } from 'react'; -import ReactMarkdown from 'react-markdown'; +import ReactMarkdown from 'react-markdown/with-html'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; @@ -33,6 +33,7 @@ class Message extends PureComponent { { if (!url.startsWith('mailto') && !url.startsWith('javascript')) return '_blank'; return undefined; From 119a9385cce0dbe365e08fef53de87c9220218de Mon Sep 17 00:00:00 2001 From: paulobernardo Date: Fri, 28 Aug 2020 11:02:29 -0300 Subject: [PATCH 2/2] chore(release): 1.6.0 --- CHANGELOG.md | 7 +++++++ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 83cd5b3..1195a98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [1.6.0](https://https///compare/v1.5.1...v1.6.0) (2020-08-28) + + +### Features + +* html support enabled on messages ([db9c5b6](https://https///commit/db9c5b663c2c4cd0ba5946b228b3d7b3a050d393)) + ### [1.5.1](https://https///compare/v1.5.0...v1.5.1) (2020-08-18) diff --git a/package-lock.json b/package-lock.json index 168c6f5..3c27dab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "push-webchat", - "version": "1.5.1", + "version": "1.6.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index c6a7a6e..4b97c01 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "push-webchat", - "version": "1.5.1", + "version": "1.6.0", "description": "Chat web widget for React apps and Push chatbots", "module": "module/index.js", "main": "lib/index.js",