mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 11:27:31 -07:00
[mastodon-client] Set class=hashtag for tags in mfm-to-html
This commit is contained in:
parent
4a6d010724
commit
9c4466035e
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ export class MfmHelpers {
|
|||
a.href = `${config.url}/tags/${node.props.hashtag}`;
|
||||
a.textContent = `#${node.props.hashtag}`;
|
||||
a.setAttribute("rel", "tag");
|
||||
a.setAttribute("class", "hashtag");
|
||||
return a;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue