From 3f8ebac466ece8e9598432f3f574ec44e420c03b Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 23 Nov 2017 05:43:00 +0900 Subject: なんかもうめっちゃ変えた MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #940 --- src/web/app/common/scripts/text-compiler.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/web/app/common/scripts/text-compiler.ts') diff --git a/src/web/app/common/scripts/text-compiler.ts b/src/web/app/common/scripts/text-compiler.ts index 8c65d6a068..e0ea47df26 100644 --- a/src/web/app/common/scripts/text-compiler.ts +++ b/src/web/app/common/scripts/text-compiler.ts @@ -1,6 +1,7 @@ +declare const _URL_: string; + import * as riot from 'riot'; import * as pictograph from 'pictograph'; -import CONFIG from './config'; const escape = text => text @@ -26,7 +27,7 @@ export default (tokens, shouldBreak) => { case 'link': return `${escape(token.title)}`; case 'mention': - return `${token.content}`; + return `${token.content}`; case 'hashtag': // TODO return `${escape(token.content)}`; case 'code': -- cgit v1.2.3-freya