enable ragel parser in more places
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
<% if artist_commentary.translated_description.present? %>
|
||||
<%= format_text(artist_commentary.translated_description, :ragel => true) %>
|
||||
<% else %>
|
||||
<span class="disabled"><%= format_text(artist_commentary.original_description) %></span>
|
||||
<span class="disabled"><%= format_text(artist_commentary.original_description, :ragel => true) %></span>
|
||||
<% end %>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -17,13 +17,13 @@
|
||||
<td>
|
||||
<h3><%= h(commentary.original_title) %></h3>
|
||||
<div class="prose">
|
||||
<%= format_text(commentary.original_description) %>
|
||||
<%= format_text(commentary.original_description, :ragel => true) %>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<h3><%= h(commentary.translated_title) %></h3>
|
||||
<div class="prose">
|
||||
<%= format_text(commentary.translated_description) %>
|
||||
<%= format_text(commentary.translated_description, :ragel => true) %>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
<% if @artist.notes.present? && @artist.visible? %>
|
||||
<div class="prose">
|
||||
<%= format_text(@artist.notes) %>
|
||||
<%= format_text(@artist.notes, :ragel => true) %>
|
||||
</div>
|
||||
|
||||
<p><%= link_to "View wiki page", @artist.wiki_page %></p>
|
||||
|
||||
Reference in New Issue
Block a user