notes: don't replace text in links

This commit is contained in:
HookedBehemoth 2022-06-29 01:14:15 +02:00
parent 075e905d82
commit feeeb60eb2
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ proc renderNoteParagraph(articleParagraph: ArticleParagraph; article: Article):
case entity.entityType
of ArticleEntityType.link:
let link = buildHtml(a(href=entity.url)):
verbatim text.runeSubStr(er.offset, er.length).replaceHashtagsAndMentions
text text.runeSubStr(er.offset, er.length)
result.add link
of ArticleEntityType.media:
for id in entity.mediaIds: