From 22df79573330bf6dd9309baa2bf65f5a6ac8db0a Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 10 Jun 2018 03:47:09 +0900 Subject: [PATCH] Fix bug --- src/text/html.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/text/html.ts b/src/text/html.ts index 40f86e4b2..4d0b4267f 100644 --- a/src/text/html.ts +++ b/src/text/html.ts @@ -24,9 +24,9 @@ const handlers = { }, hashtag({ document }, { hashtag }) { - const a = document.createElement('a'); - a.href = '/search?q=#' + hashtag; - a.textContent = hashtag; + const span = document.createElement('span'); + span.textContent = hashtag; + document.body.appendChild(span); }, 'inline-code'({ document }, { code }) {