diff options
author | Justin Mayer <entroP@gmail.com> | 2013-12-12 18:46:59 -0800 |
---|---|---|
committer | Justin Mayer <entroP@gmail.com> | 2013-12-12 18:46:59 -0800 |
commit | 23701c6d825833372bff819bedfd9773dcc02160 (patch) | |
tree | 212fd2c81465e99bd8c81371054cf3782ba3fe41 /pelican-bootstrap3/templates | |
parent | fafcb745cc525885a575ca5f49e2b32c0ce78369 (diff) | |
parent | 52654cf609ef0c8b2bd284d3c89b20e07e7de81d (diff) | |
download | pelican-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.html | 4 |
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> |