diff --git a/app/controllers/dtext_previews_controller.rb b/app/controllers/dtext_previews_controller.rb index 7fd6c901e..3ad3ab3ac 100644 --- a/app/controllers/dtext_previews_controller.rb +++ b/app/controllers/dtext_previews_controller.rb @@ -1,5 +1,5 @@ class DtextPreviewsController < ApplicationController def create - render :inline => "<%= format_text(params[:body]) %>" + render :inline => "<%= format_text(params[:body], :ragel => true) %>" end end diff --git a/app/views/artist_commentaries/_show.html.erb b/app/views/artist_commentaries/_show.html.erb index b61fb129d..7be442828 100644 --- a/app/views/artist_commentaries/_show.html.erb +++ b/app/views/artist_commentaries/_show.html.erb @@ -33,7 +33,7 @@ <% if artist_commentary.translated_description.present? %> <%= format_text(artist_commentary.translated_description, :ragel => true) %> <% else %> - <%= format_text(artist_commentary.original_description) %> + <%= format_text(artist_commentary.original_description, :ragel => true) %> <% end %> diff --git a/app/views/artist_commentaries/index.html.erb b/app/views/artist_commentaries/index.html.erb index 611b49957..5a468a12a 100644 --- a/app/views/artist_commentaries/index.html.erb +++ b/app/views/artist_commentaries/index.html.erb @@ -17,13 +17,13 @@
<%= link_to "View wiki page", @artist.wiki_page %>