This commit is contained in:
恍兮惚兮 2024-09-18 12:51:20 +08:00
parent ccf0910c23
commit 5837c74b43
2 changed files with 2 additions and 0 deletions

View File

@ -137,6 +137,7 @@ class Process:
for key, value in self.sorted_vnrshareddict_post: for key, value in self.sorted_vnrshareddict_post:
if key in res: if key in res:
res = res.replace(key, value["text"]) res = res.replace(key, value["text"])
res = res.replace(key.lower(), value["text"])
return res return res
@staticmethod @staticmethod

View File

@ -90,4 +90,5 @@ class Process:
mp1 = context["zhanweifu"] mp1 = context["zhanweifu"]
for key in mp1: for key in mp1:
res = res.replace(key, mp1[key]) res = res.replace(key, mp1[key])
res = res.replace(key.lower(), mp1[key])
return res return res