From ff225a579fadddaf77da7bc9c9ebafef77a8dd5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=8D=E9=81=87=E9=9B=8C=E9=B9=BF?= <1937635949@qq.com> Date: Mon, 20 Feb 2023 12:14:08 +0000 Subject: [PATCH] =?UTF-8?q?update=20src/apps/mytag=5Fjs.php.=20=E9=80=9A?= =?UTF-8?q?=E8=BF=87=E5=85=B3=E9=94=AE=E5=AD=97=E7=AC=A6=E8=BF=87=E6=BB=A4?= =?UTF-8?q?=EF=BC=8C=E4=BF=AE=E5=A4=8D=E4=BA=86mytag=5Fjs.php=E4=B8=AD?= =?UTF-8?q?=E5=AD=98=E5=9C=A8=E7=9A=84=E4=BB=BB=E6=84=8F=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=BC=8F=E6=B4=9E=EF=BC=8C=E9=81=BF=E5=85=8D?= =?UTF-8?q?=E4=BA=86=E5=90=8E=E7=BB=AD=E7=9A=84=E5=91=BD=E4=BB=A4=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E6=BC=8F=E6=B4=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 再遇雌鹿 <1937635949@qq.com> --- src/apps/mytag_js.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apps/mytag_js.php b/src/apps/mytag_js.php index 46ebc4f1..bc0b5cce 100755 --- a/src/apps/mytag_js.php +++ b/src/apps/mytag_js.php @@ -36,6 +36,7 @@ if (isset($nocache) || !file_exists($cacheFile) || time() - filemtime($cacheFile $myvalues = str_replace('"', '\"', $myvalues); $myvalues = str_replace("\r", "\\r", $myvalues); $myvalues = str_replace("\n", "\\n", $myvalues); + $myvalues = str_replace("\r\n"; file_put_contents($cacheFile, $myvalues); }