diff --git a/src/parseMarkdown.ts b/src/parseMarkdown.ts index d9596124a..4d6f4055e 100644 --- a/src/parseMarkdown.ts +++ b/src/parseMarkdown.ts @@ -143,7 +143,7 @@ export default async function parseMarkdown(markdown: string, translator: Transl .replace(/

{wide_table}<\/p>/g, '

') .replace(/

{\/wide_table}<\/p>/g, '

') .replace(/

{gallery={(.*?)}}<\/p>/gms, generateGallery) - .replace(/(?<=\s|^)!!(.*?)!!(?=\s|$)/gms, (_: string, spoilerString: string): string => { + .replace(/(? { return `${spoilerString}`; }) }`;