Delete desc when :keep=False
Still needed for Firefox, cause empty <desc/> still show up instead of content in feed previewmaster
parent
83ed440e67
commit
604b03e2ba
|
@ -590,10 +590,10 @@ def After(rss, options):
|
||||||
del item.desc
|
del item.desc
|
||||||
del item.content
|
del item.content
|
||||||
|
|
||||||
if item.desc and item.content:
|
if options.clip and item.desc and item.content:
|
||||||
if options.clip:
|
|
||||||
item.content = item.desc + "<br/><br/><center>* * *</center><br/><br/>" + item.content
|
item.content = item.desc + "<br/><br/><center>* * *</center><br/><br/>" + item.content
|
||||||
del item.desc
|
del item.desc
|
||||||
|
|
||||||
if not options.keep:
|
if not options.keep:
|
||||||
del item.desc
|
del item.desc
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue