From d6e3bbc6566bd181bb1cb31a330331e1177fe39d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Thu, 9 Mar 2023 14:40:58 +0300 Subject: [PATCH] Update templates.js --- layouts/doc/codeeditor/templates.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/doc/codeeditor/templates.js b/layouts/doc/codeeditor/templates.js index 4e6d7e1a2..8816cc5af 100644 --- a/layouts/doc/codeeditor/templates.js +++ b/layouts/doc/codeeditor/templates.js @@ -334,7 +334,7 @@ routes: [{ path: "/", component: ${mainFileName} }] });` }, [`${sourceFileName}`]: { - content: sources.replaceAll('<\\/script>', '') + content: sources }, 'public/logo.svg': { content: `