From 02375f5bed06741831f235fb53f41fc324ef3c23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Gl=C3=BCpker?= Date: Sat, 25 May 2024 10:50:53 +0200 Subject: Use linebreaks --- urldelta.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urldelta.py') 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])}", "
"), + content=f"Headers: {update[0]}\n\nContent: {extract_text(update[1])}".replace("\n", "
"), date=datetime.datetime.fromtimestamp(update[2], tz=datetime.UTC), enclosures=[], guid=update[2], -- cgit v1.2.3