From 206c04f716cbc608e0913f31e19b79458014e519 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson <david@loudthinking.com> Date: Thu, 7 Jun 2018 14:41:17 +0200 Subject: Move the escaping choice to the layout --- app/views/action_text/content/_layout.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views') 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> -- cgit v1.2.3