From 21b72f78546fe8fde457be780c57c5bed6fdb40a Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 9 Feb 2017 19:41:17 +0900 Subject: #139 --- src/web/app/common/scripts/text-compiler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/web/app/common/scripts') diff --git a/src/web/app/common/scripts/text-compiler.js b/src/web/app/common/scripts/text-compiler.js index ab322764f3..29b700e628 100644 --- a/src/web/app/common/scripts/text-compiler.js +++ b/src/web/app/common/scripts/text-compiler.js @@ -31,7 +31,7 @@ module.exports = function(tokens, shouldBreak, shouldEscape) { case 'hashtag': // TODO return '' + escape(token.content) + ''; case 'code': - return '
' + escape(token.code) + '
'; + return '
' + token.codeHtml + '
'; } }).join(''); -- cgit v1.2.3-freya