Skip to content

Commit

Permalink
Strip tags from title when within tag attribute
Browse files Browse the repository at this point in the history
The change mentioned in getpelican#336 stripped tags properly in some places but
seems to have forgotten at least one location in the main index.html
  • Loading branch information
justinmayer committed Jun 8, 2012
1 parent 3dd63a0 commit ae1424a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pelican/themes/notmyidea/templates/index.html
Expand Up @@ -29,7 +29,8 @@ <h1>Other articles</h1>
{% 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">
Expand Down

0 comments on commit ae1424a

Please sign in to comment.