From fba89915ac9a0421a5441cdb23958099467a0a56 Mon Sep 17 00:00:00 2001 From: Pat Lathem Date: Wed, 21 Oct 2015 15:02:23 -0500 Subject: Pass eslint tests --- web/react/utils/markdown.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'web') 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 `

${text}

`; + return `

${outText}

`; } - return super.paragraph(text); + return super.paragraph(outText); } table(header, body) { -- cgit v1.2.3-1-g7c22