diff --git a/medium-parser/medium_parser/core.py b/medium-parser/medium_parser/core.py
index 146e443..a6841b3 100644
--- a/medium-parser/medium_parser/core.py
+++ b/medium-parser/medium_parser/core.py
@@ -361,7 +361,7 @@ class MediumParser:
out_paragraphs.append(header_template_rendered)
elif paragraph["type"] == "IMG":
image_template = jinja_env.from_string(
- '
'
+ ''
)
image_caption_template = jinja_env.from_string(
"{{ text }}"
@@ -530,7 +530,7 @@ class MediumParser:
elif paragraph["type"] == "MIXTAPE_EMBED":
# TODO: redirect all Medium embeding articles to Fredium
embed_template = jinja_env.from_string(
- ''
+ ''
)
if paragraph.get("mixtapeMetadata") is not None:
url = paragraph["mixtapeMetadata"]["href"]
diff --git a/medium-parser/tests/templates/post.html b/medium-parser/tests/templates/post.html
index 0222447..13f948f 100644
--- a/medium-parser/tests/templates/post.html
+++ b/medium-parser/tests/templates/post.html
@@ -1,8 +1,8 @@
-
-
+
+
-
- < Go to the original
+
+ < Go to the original
{% if previewImageId %}

{% endif %}
-
{{ title }}
- {% if subtitle %}
{{ subtitle }}
{% endif %}
+
{{ title }}
+ {% if subtitle %}
{{ subtitle }}
{% endif %}
-
-
+
+
{% for paragraph in content %}{{ paragraph }}{% endfor %}
-
+