From 3c23ba458f0bdc453738e2cc14b4aff45a4cd1b4 Mon Sep 17 00:00:00 2001 From: p2world Date: Fri, 26 Jul 2024 04:42:35 +0800 Subject: [PATCH] Fix sending html with comment --- src/components/inputField.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/inputField.ts b/src/components/inputField.ts index 064bfae29..ba248be79 100644 --- a/src/components/inputField.ts +++ b/src/components/inputField.ts @@ -184,7 +184,7 @@ let init = () => { // console.log(html.replace(/ (style|class|id)=".+?"/g, '')); html = html.replace(//, ''); - html = html.replace(//, ''); + html = html.replace(//, ''); html = html.replace('
', ''); const match = html.match(/([\s\S]*)<\/body>/);