mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
Remove unnecessary escape characters
This commit is contained in:
parent
c2ea4cbfd5
commit
f9d1eed4dd
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ function parseNoteContent(content: string, mentions: MastodonMention[]): ParsedN
|
||||||
hashtag: ({ content }) => {
|
hashtag: ({ content }) => {
|
||||||
const tag = content.replace(/^#/, '');
|
const tag = content.replace(/^#/, '');
|
||||||
const href = Conf.local(`/tags/${tag}`);
|
const href = Conf.local(`/tags/${tag}`);
|
||||||
return html`<a class=\"mention hashtag\" href=\"${href}\" rel=\"tag\"><span>#</span>${tag}</a>`;
|
return html`<a class="mention hashtag" href="${href}" rel="tag"><span>#</span>${tag}</a>`;
|
||||||
},
|
},
|
||||||
url: ({ attributes, content }) => {
|
url: ({ attributes, content }) => {
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue