aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2018-06-07 14:41:17 +0200
committerDavid Heinemeier Hansson <david@loudthinking.com>2018-06-07 14:41:17 +0200
commit206c04f716cbc608e0913f31e19b79458014e519 (patch)
tree2fa284e584cb81924edaa534b527a5faa89b1dbc /app
parent228044c5c21d128f366dbca2a527586b7a5e33f4 (diff)
downloadrails-206c04f716cbc608e0913f31e19b79458014e519.tar.gz
rails-206c04f716cbc608e0913f31e19b79458014e519.tar.bz2
rails-206c04f716cbc608e0913f31e19b79458014e519.zip
Move the escaping choice to the layout
Diffstat (limited to 'app')
-rw-r--r--app/views/action_text/content/_layout.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/action_text/content/_layout.html.erb b/app/views/action_text/content/_layout.html.erb
index be3ca295c8..c0b86a189e 100644
--- a/app/views/action_text/content/_layout.html.erb
+++ b/app/views/action_text/content/_layout.html.erb
@@ -1,3 +1,3 @@
<div class="trix-content">
- <%= document %>
+ <%=raw document %>
</div>