mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-15 00:55:48 +01:00
Fix bug
This commit is contained in:
parent
7e3bf06db1
commit
22df795733
1 changed files with 3 additions and 3 deletions
|
@ -24,9 +24,9 @@ const handlers = {
|
||||||
},
|
},
|
||||||
|
|
||||||
hashtag({ document }, { hashtag }) {
|
hashtag({ document }, { hashtag }) {
|
||||||
const a = document.createElement('a');
|
const span = document.createElement('span');
|
||||||
a.href = '/search?q=#' + hashtag;
|
span.textContent = hashtag;
|
||||||
a.textContent = hashtag;
|
document.body.appendChild(span);
|
||||||
},
|
},
|
||||||
|
|
||||||
'inline-code'({ document }, { code }) {
|
'inline-code'({ document }, { code }) {
|
||||||
|
|
Loading…
Reference in a new issue