aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates
diff options
context:
space:
mode:
authorJustin Mayer <entroP@gmail.com>2013-12-12 18:46:59 -0800
committerJustin Mayer <entroP@gmail.com>2013-12-12 18:46:59 -0800
commit23701c6d825833372bff819bedfd9773dcc02160 (patch)
tree212fd2c81465e99bd8c81371054cf3782ba3fe41 /pelican-bootstrap3/templates
parentfafcb745cc525885a575ca5f49e2b32c0ce78369 (diff)
parent52654cf609ef0c8b2bd284d3c89b20e07e7de81d (diff)
downloadpelican-themes-23701c6d825833372bff819bedfd9773dcc02160.tar.gz
Merge pull request #178 from michael-yin/htmlescape
Escape HTML in titles and add highlight class to pygment.css
Diffstat (limited to 'pelican-bootstrap3/templates')
-rw-r--r--pelican-bootstrap3/templates/base.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/pelican-bootstrap3/templates/base.html b/pelican-bootstrap3/templates/base.html
index 0777948..aea298d 100644
--- a/pelican-bootstrap3/templates/base.html
+++ b/pelican-bootstrap3/templates/base.html
@@ -22,7 +22,7 @@
<meta property="og:type" content="article"/>
<meta property="og:title" content="{{ article.title }}"/>
<meta property="og:url" content="{{ SITEURL }}/{{ article.url }}"/>
- <meta property="og:description" content="{{ article.summary|striptags }}"/>
+ <meta property="og:description" content="{{ article.summary|striptags|e }}"/>
{% elif page %}
<meta property="og:type" content="article"/>
<meta property="og:title" content="{{ page.title }}"/>
@@ -120,4 +120,4 @@
<script src="{{ SITEURL }}/theme/js/respond.min.js"></script>
{% include 'includes/disqus_script.html' %}
</body>
-</html> \ No newline at end of file
+</html>