diff options
author | André Glüpker <git@wgmd.de> | 2024-05-25 10:50:53 +0200 |
---|---|---|
committer | André Glüpker <git@wgmd.de> | 2024-05-25 10:50:53 +0200 |
commit | 02375f5bed06741831f235fb53f41fc324ef3c23 (patch) | |
tree | 96e4319e91408aa6468acb5691844f95c89dfa4a | |
parent | 06cc74328009a896116c77c10c5687eade66ff7d (diff) | |
download | rss-feeds-02375f5bed06741831f235fb53f41fc324ef3c23.tar.gz rss-feeds-02375f5bed06741831f235fb53f41fc324ef3c23.tar.bz2 rss-feeds-02375f5bed06741831f235fb53f41fc324ef3c23.zip |
Use linebreaks
-rwxr-xr-x | urldelta.py | 2 |
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], |