Correctly render budget description with html & links

This commit is contained in:
Bertocq
2018-01-18 16:18:27 +01:00
parent 170cf5adbd
commit 986ee9c87d
3 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ module TextWithLinksHelper
end
def safe_html_with_links(html)
return html unless html.html_safe?
return html.html_safe unless html.html_safe?
Rinku.auto_link(html, :all, 'target="_blank" rel="nofollow"').html_safe
end