mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-27 00:09:38 +00:00
Rename function to be more generic, since it parses users
This commit is contained in:
parent
ade8e1a9ea
commit
7bd90da1f8
|
@ -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") {
|
||||
|
|
Loading…
Reference in a new issue