Permalink
Browse files

Fix for the Read-more link in RSS/Atom feeds

  • Loading branch information...
1 parent 73033d1 commit 5f288fcb7296970f54727d58c9d3d4a079f0e5dd @olegcherr olegcherr committed Mar 9, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 res/prepare/atom.html
  2. +1 −1 res/prepare/rss.html
View
2 res/prepare/atom.html
@@ -35,7 +35,7 @@
<updated>{{post.timestamp|atomdate}}</updated>
<content type="html">{{post.content}}
{% if post.has_more and page.read_more_text %}
- {{ "<a href=\"" ~ post.url ~ "\">" ~ page.read_more_text ~ "</a>"|escape }}
+ {{ ("<a href=\"" ~ post.url ~ "\">" ~ page.read_more_text ~ "</a>")|escape }}
{% endif %}
</content>
{% if author %}
View
2 res/prepare/rss.html
@@ -51,7 +51,7 @@
<guid>{{post.url}}</guid>
<description>{{post.content}}
{% if post.has_more and page.read_more_text %}
- {{ "<a href=\"" ~ post.url ~ "\">" ~ page.read_more_text ~ "</a>"|escape }}
+ {{ ("<a href=\"" ~ post.url ~ "\">" ~ page.read_more_text ~ "</a>")|escape }}
{% endif %}
</description>
</item>

0 comments on commit 5f288fc

Please sign in to comment.