Drop tags with CDATA.

This commit is contained in:
Samuel Clay 2019-11-06 16:10:56 -05:00
parent f7aef4e299
commit ebd13d9487

View file

@ -1938,7 +1938,7 @@ class Feed(models.Model):
term = tcat.label
elif hasattr(tcat, 'term') and tcat.term:
term = tcat.term
if not term:
if not term or "CDATA" in term:
continue
qcat = term.strip()
if ',' in qcat or '/' in qcat: