Skip to content

Commit

Permalink
Handle post titles with funny characters.
Browse files Browse the repository at this point in the history
  • Loading branch information
belkadan committed Mar 8, 2012
1 parent c64c362 commit 1791b5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

{% for post in posts limit: full_count %}
<div class="post shadow-box" id="post{{ post.id | xml_id }}">
<h2><a href="{{ site.baseurl }}{{ post.url }}" rel="bookmark" title="Permanent link to &#x201C;{{ post.title }}&#x201D;">{{ post.title }}</a></h2>
<h2><a href="{{ site.baseurl }}{{ post.url }}" rel="bookmark" title="Permanent link to &#x201C;{{ post.title | xml_escape }}&#x201D;">{{ post.title }}</a></h2>
<p class="metadata">{{ post.date | date_to_long_string }}</p>

<div class="entry">
Expand Down

0 comments on commit 1791b5b

Please sign in to comment.