enable ragel parser for remaining dtext endpoints

This commit is contained in:
Albert Yi
2017-01-10 15:12:37 -08:00
parent 8db970f9f3
commit 87bcc07fae
15 changed files with 17 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
<div class="ui-corner-all ui-state-error" id="ban-notice">
<h1>Your account has been temporarily banned</h1>
<p>Reason: <%= format_text CurrentUser.user.recent_ban.reason %></p>
<p>Reason: <%= format_text CurrentUser.user.recent_ban.reason, :ragel => true %></p>
<p>Your ban will expire in <%= time_ago_in_words(CurrentUser.user.recent_ban.expires_at) %></p>
</div>

View File

@@ -25,7 +25,7 @@
<% if user.is_banned? && user.recent_ban %>
<tr>
<th>Ban reason</th>
<td><%= format_text presenter.ban_reason %></td>
<td><%= format_text presenter.ban_reason, :ragel => true %></td>
</tr>
<% end %>