From: Anon Date: Sat, 25 Feb 2023 21:18:52 +0000 (-0600) Subject: fix casing X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%22https:/nerdica.net/%7B?a=commitdiff_plain;h=c22eafad56f3240be99568e3489e25e507355e54;p=lemmy-ui.git fix casing --- diff --git a/src/shared/utils.ts b/src/shared/utils.ts index 99e8e56..0200924 100644 --- a/src/shared/utils.ts +++ b/src/shared/utils.ts @@ -34,7 +34,7 @@ import markdown_it_footnote from "markdown-it-footnote"; import markdown_it_html5_embed from "markdown-it-html5-embed"; import markdown_it_sub from "markdown-it-sub"; import markdown_it_sup from "markdown-it-sup"; -import markdownitEmoji from 'markdown-it-emoji/bare'; +import markdown_it_emoji from 'markdown-it-emoji/bare'; import moment from "moment"; import { Subscription } from "rxjs"; import { delay, retryWhen, take } from "rxjs/operators"; @@ -756,7 +756,7 @@ function setupMarkdown() { .use(markdown_it_footnote) .use(markdown_it_html5_embed, html5EmbedConfig) .use(markdown_it_container, "spoiler", spoilerConfig) - .use(markdownitEmoji, { + .use(markdown_it_emoji, { defs: emojiDefs }); @@ -766,7 +766,7 @@ function setupMarkdown() { .use(markdown_it_footnote) .use(markdown_it_html5_embed, html5EmbedConfig) .use(markdown_it_container, "spoiler", spoilerConfig) - .use(markdownitEmoji, { + .use(markdown_it_emoji, { defs: emojiDefs }) .disable("image");