diff options
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/page.html | 2 | ||||
-rw-r--r-- | _layouts/post.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/_layouts/page.html b/_layouts/page.html index 5e6d1de..8938b9d 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -5,7 +5,7 @@ layout: default <div class="content"> <article> <header> - <h1>{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | capitalize }}</h1> + <h1>{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</h1> </header> {{ content }} diff --git a/_layouts/post.html b/_layouts/post.html index 81d3b46..8cfd061 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -6,7 +6,7 @@ layout: default <article> <header> <small><time datetime="{{ page.date | date_to_xmlschema}}">{{ page.date | date_to_long_string }}</time></small> - <h1>{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | capitalize }}</h1> + <h1>{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</h1> </header> {{ content }} |