summaryrefslogtreecommitdiff
path: root/src/remote/activitypub
diff options
context:
space:
mode:
authorAya Morisawa <AyaMorisawa4869@gmail.com>2018-09-01 23:12:51 +0900
committerAya Morisawa <AyaMorisawa4869@gmail.com>2018-09-01 23:12:51 +0900
commit291beb45fcb7a4c856232b12848ebad8267e2840 (patch)
tree8967c4a548ce8a0d19b5e4ef3c8eb37e0d3414d1 /src/remote/activitypub
parentfix #2315 (#2339) (diff)
downloadsharkey-291beb45fcb7a4c856232b12848ebad8267e2840.tar.gz
sharkey-291beb45fcb7a4c856232b12848ebad8267e2840.tar.bz2
sharkey-291beb45fcb7a4c856232b12848ebad8267e2840.zip
Use string interpolation
Diffstat (limited to 'src/remote/activitypub')
-rw-r--r--src/remote/activitypub/renderer/hashtag.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote/activitypub/renderer/hashtag.ts b/src/remote/activitypub/renderer/hashtag.ts
index a37ba63532..36563c2df5 100644
--- a/src/remote/activitypub/renderer/hashtag.ts
+++ b/src/remote/activitypub/renderer/hashtag.ts
@@ -3,5 +3,5 @@ import config from '../../../config';
export default (tag: string) => ({
type: 'Hashtag',
href: `${config.url}/tags/${encodeURIComponent(tag)}`,
- name: '#' + tag
+ name: `#${tag}`
});