From a41eadd4f33b7f89dbf9c04964d55efd74583c32 Mon Sep 17 00:00:00 2001 From: BigCoke233 Date: Wed, 15 Apr 2020 18:13:28 +0800 Subject: =?UTF-8?q?:dizzy=5Fface:=20Fix:=20=E4=B8=B4=E6=97=B6=E8=A7=A3?= =?UTF-8?q?=E5=86=B3=E9=94=9A=E7=82=B9=E4=B8=AD=E7=89=B9=E6=AE=8A=E5=AD=97?= =?UTF-8?q?=E7=AC=A6=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/Contents.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libs/Contents.php') diff --git a/libs/Contents.php b/libs/Contents.php index ead2293..2d27671 100644 --- a/libs/Contents.php +++ b/libs/Contents.php @@ -233,6 +233,11 @@ class Contents $id = str_replace(' ','_',$id); $id = str_replace('&','_',$id); $id = str_replace('?','_',$id); + $id = str_replace("'",'_',$id); + $id = str_replace('"','_',$id); + $id = str_replace('’','_',$id); + $id = str_replace('“','_',$id); + $id = str_replace('?','_',$id); return ''.$matchs[3].''; } -- cgit v1.2.3