mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-01 10:09:56 +00:00
Rename function to be more generic, since it parses users
This commit is contained in:
parent
ade8e1a9ea
commit
7bd90da1f8
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ const html5EmbedConfig = {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
function localCommunityLinkParser(md: MarkdownIt) {
|
function localInstanceLinkParser(md: MarkdownIt) {
|
||||||
md.core.ruler.push("replace-text", state => {
|
md.core.ruler.push("replace-text", state => {
|
||||||
for (let i = 0; i < state.tokens.length; i++) {
|
for (let i = 0; i < state.tokens.length; i++) {
|
||||||
if (state.tokens[i].type !== "inline") {
|
if (state.tokens[i].type !== "inline") {
|
||||||
|
|
Loading…
Reference in a new issue