diff --git a/components/templates/src/builtins/atom.xml b/components/templates/src/builtins/atom.xml
index 8b2d331e5c..2f16095563 100644
--- a/components/templates/src/builtins/atom.xml
+++ b/components/templates/src/builtins/atom.xml
@@ -40,7 +40,7 @@
{% if page.summary %}
{{ page.summary }}
{% else %}
- {{ page.content }}
+ {{ page.content }}
{% endif %}
{%- endfor %}
diff --git a/components/templates/src/builtins/rss.xml b/components/templates/src/builtins/rss.xml
index 1c09e4cf4d..a684a48af9 100644
--- a/components/templates/src/builtins/rss.xml
+++ b/components/templates/src/builtins/rss.xml
@@ -33,7 +33,7 @@
{{ page.permalink | escape_xml | safe }}
{{ page.permalink | escape_xml | safe }}
- {% if page.summary %}{{ page.summary }}{% else %}{{ page.content }}{% endif %}
+ {% if page.summary %}{{ page.summary }}{% else %}{{ page.content }}{% endif %}
{%- endfor %}