summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-06-07 15:43:29 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-06-07 15:43:29 +0900
commit7d07cde40c2ffdb74c648dba1258084e2a5d5f2d (patch)
tree44afde98c02307833036167c7c4a25326fbc627a /src/web/app/common/scripts
parentv2011 (diff)
downloadsharkey-7d07cde40c2ffdb74c648dba1258084e2a5d5f2d.tar.gz
sharkey-7d07cde40c2ffdb74c648dba1258084e2a5d5f2d.tar.bz2
sharkey-7d07cde40c2ffdb74c648dba1258084e2a5d5f2d.zip
Refactor
Diffstat (limited to 'src/web/app/common/scripts')
-rw-r--r--src/web/app/common/scripts/text-compiler.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app/common/scripts/text-compiler.js b/src/web/app/common/scripts/text-compiler.js
index 0a9b8022df..20ed1877da 100644
--- a/src/web/app/common/scripts/text-compiler.js
+++ b/src/web/app/common/scripts/text-compiler.js
@@ -22,7 +22,7 @@ export default (tokens, shouldBreak) => {
case 'bold':
return `<strong>${escape(token.bold)}</strong>`;
case 'url':
- return `<mk-url href="${escape(token.content)}" target="_blank"></mk-url>`;
+ return `<mk-url href="${escape(token.content)}" target="_blank"/>`;
case 'link':
return `<a class="link" href="${escape(token.url)}" target="_blank" title="${escape(token.url)}">${escape(token.title)}</a>`;
case 'mention':