We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44e4319 commit c0c2749Copy full SHA for c0c2749
src/components/Widget/components/Conversation/components/Messages/components/Message/index.js
@@ -12,7 +12,7 @@ class Message extends PureComponent {
12
<div className={sender}>
13
<div className="message-text" >
14
{sender === 'response' ? (
15
- <ReactMarkdown className={'markdown'} source={text} linkTarget={(url) => { if (!url.startsWith('mailto')) return '_blank'; }} />
+ <ReactMarkdown className={'markdown'} source={text} linkTarget={(url) => { if (!url.startsWith('mailto') && !url.startsWith('javascript')) return '_blank'; }} transformLinkUri={null} />
16
) : (
17
text
18
)}
0 commit comments