Shun Miyazawa пре 1 година
родитељ
комит
cc31c71216
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      apps/app/src/features/openai/server/utils/sanitize-markdown.ts

+ 1 - 1
apps/app/src/features/openai/server/utils/sanitize-markdown.ts

@@ -15,7 +15,7 @@ export const sanitizeMarkdown = async(markdown: string): Promise<string> => {
     return (tree: Root) => {
       visit(tree, 'code', (node: Code) => {
         if (node.lang === 'drawio') {
-          node.value = '{{drawio content}}';
+          node.value = '<!-- drawio content replaced -->';
         }
       });
     };