diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-01-02 18:28:27 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-01-02 18:28:27 +1100 |
commit | a47484abab9cd5fa2921bc04d5eae91342ba0d15 (patch) | |
tree | 2cd40473672c9f3fc9b812e5488d110d17b00292 | |
parent | cd2fa8990b15646509c043146a71101a374b4f3d (diff) |
Escaping fixes
-rw-r--r-- | app/views/general/blog.rhtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/general/blog.rhtml b/app/views/general/blog.rhtml index 5258e9bbd..07d6d2f14 100644 --- a/app/views/general/blog.rhtml +++ b/app/views/general/blog.rhtml @@ -26,9 +26,9 @@ <p class="subtitle"><%= _("Posted on {{date}} by {{author}}", :date=>simple_date(Time.parse(item['pubDate'][0])), :author=>item['creator']) %></p> <div> <% if item['encoded'] %> - <%= item['encoded'] %> + <%= raw item['encoded'] %> <% elsif item['description'] %> - <%= item['description'] %> + <%= raw item['description'] %> <% end %> </div> <p><em> |