From: Zetaphor Date: Thu, 22 Jun 2023 19:02:27 +0000 (-0300) Subject: Rename function to be more generic, since it parses users X-Git-Url: http://these/git/%22https:/www.exeterceilidhs.net/%22?a=commitdiff_plain;h=7bd90da1f84bf1cfccfa192e4aebf93549685e4e;p=lemmy-ui.git Rename function to be more generic, since it parses users --- diff --git a/src/shared/markdown.ts b/src/shared/markdown.ts index ececf47..adee474 100644 --- a/src/shared/markdown.ts +++ b/src/shared/markdown.ts @@ -73,7 +73,7 @@ const html5EmbedConfig = { }, }; -function localCommunityLinkParser(md: MarkdownIt) { +function localInstanceLinkParser(md: MarkdownIt) { md.core.ruler.push("replace-text", state => { for (let i = 0; i < state.tokens.length; i++) { if (state.tokens[i].type !== "inline") {