diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-06-07 15:43:29 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-06-07 15:43:29 +0900 |
| commit | 7d07cde40c2ffdb74c648dba1258084e2a5d5f2d (patch) | |
| tree | 44afde98c02307833036167c7c4a25326fbc627a /src/web/app/common/scripts | |
| parent | v2011 (diff) | |
| download | sharkey-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.js | 2 |
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': |