1
0
Fork 0
forked from github/pelican

Strip tags from title when within tag attribute

The change mentioned in #336 stripped tags properly in some places but
seems to have forgotten at least one location in the main index.html
This commit is contained in:
Justin Mayer 2012-06-08 09:56:55 -07:00
commit ae1424a8dd

View file

@ -29,7 +29,8 @@
{% endif %}
<li><article class="hentry">
<header>
<h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title}}">{{ article.title }}</a></h1>
<h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1>
</header>
<div class="entry-content">