diff --git a/cookbook.py b/cookbook.py
index f414c9f..82d22fe 100644
--- a/cookbook.py
+++ b/cookbook.py
@@ -76,6 +76,7 @@ def get_recipes():
def update_wiki(recipe):
import mwclient
+ import textwrap
site = mwclient.Site('pzwiki.wdka.nl', path='/mw-mediadesign/')
site.login(
@@ -91,7 +92,7 @@ def update_wiki(recipe):
steps+= f'# {log}\n'
# PROV TEMPLATE
- content = f"""
+ content = f"""\
=== {recipe['title']} ===
''{recipe['description']}''
@@ -106,7 +107,7 @@ def update_wiki(recipe):
{recipe['who']}
"""
- text += content
+ text += textwrap.dedent(content)
page.edit(text, f'Added a new recipe! {recipe["title"]}')