From 3ba4ed31ad9dea65f78482d5010a54f856f55e00 Mon Sep 17 00:00:00 2001 From: Daniela Soares Feitosa Date: Tue, 4 Jun 2013 05:55:46 -0300 Subject: [PATCH] Escaped html when displaying leads of events --- app/models/article.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/article.rb b/app/models/article.rb index a806117..196afac 100644 --- a/app/models/article.rb +++ b/app/models/article.rb @@ -589,7 +589,7 @@ class Article < ActiveRecord::Base end def lead - abstract.blank? ? first_paragraph : abstract + abstract.blank? ? first_paragraph.html_safe : abstract.html_safe end def short_lead -- libgit2 0.21.2