diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/react/utils/markdown.jsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/react/utils/markdown.jsx b/web/react/utils/markdown.jsx index e8e5798bd..1b699bc98 100644 --- a/web/react/utils/markdown.jsx +++ b/web/react/utils/markdown.jsx @@ -53,13 +53,13 @@ export class MattermostMarkdownRenderer extends marked.Renderer { } paragraph(text) { - text = TextFormatting.doFormatText(text, this.options); + let outText = TextFormatting.doFormatText(text, this.options); if (this.formattingOptions.singleline) { - return `<p class="markdown__paragraph-inline">${text}</p>`; + return `<p class="markdown__paragraph-inline">${outText}</p>`; } - return super.paragraph(text); + return super.paragraph(outText); } table(header, body) { |