summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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],