From 7e24890bd37e62ec9992452751c203430cdc3ea4 Mon Sep 17 00:00:00 2001
From: Pat Lathem <patl@codero.com>
Date: Wed, 21 Oct 2015 14:39:33 -0500
Subject: Add a call to doFormatText inside of the markdown paragraph handler

---
 web/react/utils/markdown.jsx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'web/react/utils/markdown.jsx')

diff --git a/web/react/utils/markdown.jsx b/web/react/utils/markdown.jsx
index 2813798d2..04f0bfc98 100644
--- a/web/react/utils/markdown.jsx
+++ b/web/react/utils/markdown.jsx
@@ -3,6 +3,7 @@
 
 const TextFormatting = require('./text_formatting.jsx');
 const Utils = require('./utils.jsx');
+const Emoticons = require('./emoticons.jsx');
 
 const marked = require('marked');
 
@@ -53,6 +54,8 @@ export class MattermostMarkdownRenderer extends marked.Renderer {
     }
 
     paragraph(text) {
+        text = TextFormatting.doFormatText(text, this.options)
+
         if (this.formattingOptions.singleline) {
             return `<p class="markdown__paragraph-inline">${text}</p>`;
         }
-- 
cgit v1.2.3-1-g7c22

