diff --git a/app/views/bans/index.html.erb b/app/views/bans/index.html.erb
index 462182e4f..e7808cf82 100644
--- a/app/views/bans/index.html.erb
+++ b/app/views/bans/index.html.erb
@@ -16,7 +16,7 @@
| <%= link_to_user(ban.user) %> |
<%= ban.expires_at %> |
- <%= format_text ban.reason %> |
+ <%= format_text ban.reason, :ragel => true %> |
<% if CurrentUser.is_moderator? %>
<%= link_to "Edit", edit_ban_path(ban) %>
diff --git a/app/views/bans/show.html.erb b/app/views/bans/show.html.erb
index f938dd897..3369807ff 100644
--- a/app/views/bans/show.html.erb
+++ b/app/views/bans/show.html.erb
@@ -4,7 +4,7 @@
- User: <%= link_to_user(@ban.user) %>
- Expires: <%= compact_time @ban.expires_at %>
- - Reason: <%= format_text @ban.reason %>
+ - Reason: <%= format_text @ban.reason, :ragel => true %>
<%= form_tag(ban_path(@ban), :method => :delete) do %>
diff --git a/app/views/dmails/show.html.erb b/app/views/dmails/show.html.erb
index 39d8e926c..015bc5034 100644
--- a/app/views/dmails/show.html.erb
+++ b/app/views/dmails/show.html.erb
@@ -15,7 +15,7 @@
Body
- <%= format_text(@dmail.body) %>
+ <%= format_text(@dmail.body, :ragel => true) %>
diff --git a/app/views/maintenance/user/dmail_filters/edit.html.erb b/app/views/maintenance/user/dmail_filters/edit.html.erb
index e08698976..931c3a806 100644
--- a/app/views/maintenance/user/dmail_filters/edit.html.erb
+++ b/app/views/maintenance/user/dmail_filters/edit.html.erb
@@ -16,7 +16,7 @@
Body
- <%= format_text(@dmail.body) %>
+ <%= format_text(@dmail.body, :ragel => true) %>
diff --git a/app/views/mod_actions/index.html.erb b/app/views/mod_actions/index.html.erb
index 32f30d5ef..ea82855fd 100644
--- a/app/views/mod_actions/index.html.erb
+++ b/app/views/mod_actions/index.html.erb
@@ -14,7 +14,7 @@
|
| <%= compact_time mod_action.created_at %> |
<%= link_to_user mod_action.creator %> |
- <%= format_text(mod_action.description) %> |
+ <%= format_text(mod_action.description, :ragel => true) %> |
<% end %>
diff --git a/app/views/moderator/dashboards/_activity_mod_action.html.erb b/app/views/moderator/dashboards/_activity_mod_action.html.erb
index 9c89c19e9..ec8a2f5f3 100644
--- a/app/views/moderator/dashboards/_activity_mod_action.html.erb
+++ b/app/views/moderator/dashboards/_activity_mod_action.html.erb
@@ -10,7 +10,7 @@
<% @dashboard.mod_actions.each do |mod_action| %>
| <%= link_to_user mod_action.creator %> |
- <%= format_text(mod_action.description) %> |
+ <%= format_text(mod_action.description, :ragel => true) %> |
<% end %>
diff --git a/app/views/moderator/dashboards/_activity_user_feedback.html.erb b/app/views/moderator/dashboards/_activity_user_feedback.html.erb
index 5ac7ae6dd..8f0d08250 100644
--- a/app/views/moderator/dashboards/_activity_user_feedback.html.erb
+++ b/app/views/moderator/dashboards/_activity_user_feedback.html.erb
@@ -11,7 +11,7 @@
<% @dashboard.user_feedbacks.each do |record| %>
| <%= link_to_user(record.user) %> |
- <%= format_text(record.body) %> |
+ <%= format_text(record.body, :ragel => true) %> |
<%= time_ago_in_words_tagged(record.created_at) %> |
<% end %>
diff --git a/app/views/post_appeals/index.html.erb b/app/views/post_appeals/index.html.erb
index bcb74545e..8f9b0d59e 100644
--- a/app/views/post_appeals/index.html.erb
+++ b/app/views/post_appeals/index.html.erb
@@ -18,7 +18,7 @@
| <%= PostPresenter.preview(post_appeal.post, :tags => "status:any") %> |
<%= link_to_user post_appeal.creator %> |
- <%= format_text post_appeal.reason %> |
+ <%= format_text post_appeal.reason, :ragel => true %> |
<%= compact_time post_appeal.updated_at %> |
<%= post_appeal.resolved? %> |
diff --git a/app/views/post_events/index.html.erb b/app/views/post_events/index.html.erb
index ba3b4ece9..16db81948 100644
--- a/app/views/post_events/index.html.erb
+++ b/app/views/post_events/index.html.erb
@@ -23,7 +23,7 @@
<%= link_to_user event.creator %>
<% end %>
- <%= format_text event.reason %> |
+ <%= format_text event.reason, :ragel => true %> |
<% if event.is_resolved %>
yes
diff --git a/app/views/post_flags/index.html.erb b/app/views/post_flags/index.html.erb
index d4b3b5b5a..5e4e59829 100644
--- a/app/views/post_flags/index.html.erb
+++ b/app/views/post_flags/index.html.erb
@@ -23,7 +23,7 @@
<%= link_to_user post_flag.creator %>
|
<% end %>
- <%= format_text post_flag.reason %> |
+ <%= format_text post_flag.reason, :ragel => true %> |
<%= compact_time post_flag.updated_at %> |
<% end %>