소스 검색

新增字符串“转化_

WuYiPei 5 년 전
부모
커밋
549708619a
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      controller/LangArea.py

+ 2 - 1
controller/LangArea.py

@@ -149,7 +149,8 @@ class LangAreaView(TemplateView):
                 lk = l
                 lk = lk.replace('.', '_')
                 lk = lk.replace('\\n', '_')
-                lk = lk.replace('“”', '_')
+                lk = lk.replace('“', '_')
+                lk = lk.replace('”', '_')
                 lk = lk.replace(' ', '_')
                 lk = lk.replace('\\\'', '_')
                 lk = lk.replace('\'', '_')