Skip to content

Commit

Permalink
Turned off auto escaping for potential html content.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gert-Jan committed Mar 8, 2017
1 parent 95483f2 commit 5e1a58d
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion themes/default/listing.html
Expand Up @@ -17,7 +17,7 @@ <h2><a href="{{config.url_prefix}}{{post.path}}">{{post.title|escape}}</a></h2>
{% endfor %}
{% endif %}
</p>
{{post.summary}}
{% autoescape off %}{{post.summary}}{% endautoescape %}
<p>
<a href="{{config.url_prefix}}{{post.path}}" class="readmore">Read more...</a>
</p>
Expand Down
2 changes: 1 addition & 1 deletion themes/default/pages/Empty.html
@@ -1 +1 @@
{{page.body}}
{% autoescape off %}{{page.body}}{% endautoescape %}
2 changes: 1 addition & 1 deletion themes/default/pages/Simple.html
Expand Up @@ -4,6 +4,6 @@
</header>
<body>
<h2>{{page.title}}</h2>
{{page.body}}
{% autoescape off %}{{page.body}}{% endautoescape %}
</body>
</html>
2 changes: 1 addition & 1 deletion themes/default/pages/SpeedRunner.html
Expand Up @@ -44,7 +44,7 @@ <h1>SpeedRunner</h1>
<a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="dd_games">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
<div class="news-header"></div>
<div class="panel-top">
{{page.body}}
{% autoescape off %}{{page.body}}{% endautoescape %}
</div>
</div>
<div id="right-column">
Expand Down
2 changes: 1 addition & 1 deletion themes/default/pages/SpeedRunnerHD.html
Expand Up @@ -40,7 +40,7 @@ <h1>Speedrunner HD</h1>
<a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="dd_games">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
<div class="news-header"></div>
<div class="panel-top">
{{page.body}}
{% autoescape off %}{{page.body}}{% endautoescape %}
</div>
</div>
<div id="right-column">
Expand Down
2 changes: 1 addition & 1 deletion themes/default/pages/Theme.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% block title %}{{page.title|escape}}{% endblock %}
{% block body %}
{{page.body}}
{% autoescape off %}{{page.body}}{% endautoescape %}
{% endblock %}
2 changes: 1 addition & 1 deletion themes/default/post.html
Expand Up @@ -29,7 +29,7 @@ <h2>{{post.title|escape}}</h2>
{% endfor %}
{% endif %}
</p>
{{post.rendered}}
{% autoescape off %}{{post.rendered}}{% endautoescape %}
<p class="postmeta">
<span class="date">{{post.published|date:config.date_format}}</span>
</p>
Expand Down

0 comments on commit 5e1a58d

Please sign in to comment.