1
0
mirror of https://github.com/venthur/blag.git synced 2025-11-25 20:52:43 +00:00

Fixed atom feed encoding to utf-8

This commit is contained in:
Bastian Venthur
2025-04-24 14:03:47 +02:00
parent 05af204254
commit b0139dad8d
3 changed files with 11 additions and 1 deletions

View File

@@ -396,7 +396,7 @@ def generate_feed(
)
with open(f"{output_dir}/atom.xml", "w") as fh:
feed.write(fh, encoding="utf8")
feed.write(fh, encoding='utf-8')
def generate_index(