Re #653 fixing RSS feed HTML content formatting

pull/662/head
dgtlmoon 2 years ago
parent 560d465c59
commit 114344f950

@ -351,7 +351,9 @@ def changedetection_app(config=None, datastore_o=None):
latest_fname = watch.history[dates[-1]]
html_diff = diff.render_diff(prev_fname, latest_fname, include_equal=False, line_feed_sep="</br>")
fe.description(description="<![CDATA[<html><body><h4>{}</h4>{}</body></html>".format(watch_title, html_diff))
fe.description(description="<![CDATA["
"<html><body><h4>{}</h4>{}</body></html>"
"]]>".format(watch_title, html_diff))
fe.guid(guid, permalink=False)
dt = datetime.datetime.fromtimestamp(int(watch.newest_history_key))

Loading…
Cancel
Save