Fix RSS feed error

master
trémeur 1 week ago
parent e43cf71ba5
commit 6502979225

@ -185,7 +185,7 @@ def feedgen(local=False):
filewrite.write(" in this update") filewrite.write(" in this update")
filewrite.write(".") filewrite.write(".")
try: try:
filewrite.write(" " + re.sub("<[^<]+?>","",re.sub("<span class=\"spoiler\">.*</span>","[spoiler]",thefile.summary))) filewrite.write(" " + re.sub("&nbsp;"," ",re.sub("<[^<]+?>","",re.sub("<span class=\"spoiler\">.*</span>","[spoiler]",thefile.summary))))
except: except:
filewrite.write(" No summary provided.") filewrite.write(" No summary provided.")
try: try:

Loading…
Cancel
Save