summaryrefslogtreecommitdiff
path: root/src/text/html.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/text/html.ts')
-rw-r--r--src/text/html.ts6
1 files changed, 3 insertions, 3 deletions
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 }) {