From 94ce658ab977b794b30624ff44781f61be10b06b Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 10 Jun 2018 12:19:19 +0900 Subject: ハッシュタグ検索を実装 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/text/html.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/text') diff --git a/src/text/html.ts b/src/text/html.ts index 53d4e8a52d..70b341689a 100644 --- a/src/text/html.ts +++ b/src/text/html.ts @@ -25,7 +25,7 @@ const handlers = { hashtag({ document }, { hashtag }) { const a = document.createElement('a'); - a.href = config.url + '/search?q=#' + hashtag; + a.href = config.url + '/tags/' + hashtag; a.textContent = '#' + hashtag; a.setAttribute('rel', 'tag'); document.body.appendChild(a); -- cgit v1.2.3-freya