summaryrefslogtreecommitdiff
path: root/urldelta.py
diff options
context:
space:
mode:
authorAndré Glüpker <git@wgmd.de>2024-05-25 10:50:53 +0200
committerAndré Glüpker <git@wgmd.de>2024-05-25 10:50:53 +0200
commit02375f5bed06741831f235fb53f41fc324ef3c23 (patch)
tree96e4319e91408aa6468acb5691844f95c89dfa4a /urldelta.py
parent06cc74328009a896116c77c10c5687eade66ff7d (diff)
downloadrss-feeds-02375f5bed06741831f235fb53f41fc324ef3c23.tar.gz
rss-feeds-02375f5bed06741831f235fb53f41fc324ef3c23.tar.bz2
rss-feeds-02375f5bed06741831f235fb53f41fc324ef3c23.zip
Use linebreaks
Diffstat (limited to 'urldelta.py')
-rwxr-xr-xurldelta.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/urldelta.py b/urldelta.py
index 1808615..569e201 100755
--- a/urldelta.py
+++ b/urldelta.py
@@ -95,7 +95,7 @@ def get_page_delta(url):
RSSItem(
title=f"Change on {url}",
url=url,
- content=f"Headers: {update[0]}\n\nContent: {extract_text(update[1])}", "<br>"),
+ content=f"Headers: {update[0]}\n\nContent: {extract_text(update[1])}".replace("\n", "<br>"),
date=datetime.datetime.fromtimestamp(update[2], tz=datetime.UTC),
enclosures=[],
guid=update[2],