diff --git a/server/commands/documentImporter.ts b/server/commands/documentImporter.ts index 222478bba..97667d61d 100644 --- a/server/commands/documentImporter.ts +++ b/server/commands/documentImporter.ts @@ -202,10 +202,6 @@ async function documentImporter({ // to match our hardbreak parser. text = text.replace(/
/gi, "\\n"); - // Escape any dollar signs in the text to prevent them being interpreted as - // math blocks - text = text.replace(/\$/g, "\\$"); - // find data urls, convert to blobs, upload and write attachments const images = parseImages(text); const dataURIs = images.filter((href) => href.startsWith("data:"));