cxzzcx
This commit is contained in:
parent
6482c5ba06
commit
dbdcefcfd9
7 changed files with 14 additions and 14 deletions
|
@ -178,7 +178,7 @@ def sanitize(sanitized, noimages=False, alert=False, comment=False, edit=False):
|
|||
sanitized = re.sub('\|\|(.*?)\|\|', r'<span class="spoiler">\1</span>', sanitized)
|
||||
|
||||
if comment:
|
||||
with open("marseys.json", 'r') as f: marsey_count = loads(f.read())
|
||||
with open("marseys.json", 'r') as f: marsey_count = loads(f.read().replace("'",'"'))
|
||||
marseys_used = set()
|
||||
|
||||
emojis = list(re.finditer("[^a]>\s*(:[!#]{0,2}\w+:\s*)+<\/", sanitized))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue