Fix RSS feed error

master
trémeur 6 days ago
parent e43cf71ba5
commit 6502979225

@ -185,7 +185,7 @@ def feedgen(local=False):
filewrite.write(" in this update")
filewrite.write(".")
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:
filewrite.write(" No summary provided.")
try:

Loading…
Cancel
Save