chenjunkai 6 سال پیش
والد
کامیت
dacfe5d1c2
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      controller/LangArea.py

+ 2 - 0
controller/LangArea.py

@@ -138,6 +138,7 @@ class LangAreaView(TemplateView):
                 lk = lk.replace(' ', '_')
                 lk = lk.replace('\\\'', '_')
                 lk = lk.replace('\'', '_')
+                lk = lk.replace('\\', '_')
                 lk = lk.replace('!', '_')
                 lk = lk.replace('’', '_')
                 lk = lk.replace('...', '_')
@@ -151,6 +152,7 @@ class LangAreaView(TemplateView):
                 lk = lk.replace(',', '_')
                 lk = lk.replace('-', '_')
                 lk = lk.replace('%', '_')
+                lk = lk.replace(';', '_')
                 lk = lk.replace('‘', '_')
                 # 正则表达式
                 # re.sub("[a-z]+", "$", "123abc78ab9cdeg00t8")