diff --git a/src/text/html.ts b/src/text/html.ts index 40f86e4b2b..4d0b4267f9 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 }) {