Eclectic Media Git archived_em.space_site / c7e3de5
Adds a safer parsing filter f/ rss descriptions Ariana Giroux 7 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
4343 text = f.read()
4444
4545 for line in text.split('\n'):
46 if len(line) > 0 and line[0] != '#':
46 if len(line) > 0 and line[0].isalnum() and not line.count('&'):
4747 return line.strip('\n')
4848
4949 context = {'items': []}