示例#1
0
 def cleaned_description(self) -> str:
     return cdragon_sanitize(self.description)
示例#2
0
 def _transform(self, data):
     data["iconPath"] = cdragon_url(data["iconPath"])
     data["cleanedDescription"] = cdragon_sanitize(data["longDesc"])
     return data
示例#3
0
文件: trait.py 项目: sousa-andre/Pyot
 def _transform(self, data):
     data["iconPath"] = tft_url(data.pop("icon"))
     data["cleanedDescription"] = cdragon_sanitize(data["desc"])
     return data