Add paragraphs to comments

Fix #600
This commit is contained in:
Sergio Arbeo
2015-10-26 01:25:53 +01:00
parent 3ef5562f1a
commit 3013d13b38
2 changed files with 7 additions and 7 deletions

View File

@@ -2,7 +2,7 @@ module TextWithLinksHelper
def text_with_links(text)
return unless text
sanitized = sanitize text, tags: [], attributes: []
sanitized = sanitize(text, tags: [], attributes: [])
Rinku.auto_link(sanitized, :all, 'target="_blank" rel="nofollow"').html_safe
end