This commit is contained in:
syuilo 2018-06-10 03:47:09 +09:00
parent 7e3bf06db1
commit 22df795733
1 changed files with 3 additions and 3 deletions

View File

@ -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 }) {