aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/layout.html.erb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2016-10-25 11:18:34 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2016-10-25 11:19:28 -0200
commit8b3ed2b68ae615523299c5551b4ad6ab8e7f74cf (patch)
treedaaccea6daec6888c653c66b93f2eb73da735cfc /guides/source/layout.html.erb
parent0e7dfbe9a2ffd3ee885b0783b20ebe5fdd4f9eec (diff)
downloadrails-8b3ed2b68ae615523299c5551b4ad6ab8e7f74cf.tar.gz
rails-8b3ed2b68ae615523299c5551b4ad6ab8e7f74cf.tar.bz2
rails-8b3ed2b68ae615523299c5551b4ad6ab8e7f74cf.zip
Fix HTML escaping in the guides
render :html escapes the argument if not provided as html safe.
Diffstat (limited to 'guides/source/layout.html.erb')
-rw-r--r--guides/source/layout.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/layout.html.erb b/guides/source/layout.html.erb
index 943fd3fd7f..bb50761b30 100644
--- a/guides/source/layout.html.erb
+++ b/guides/source/layout.html.erb
@@ -88,7 +88,7 @@
<div id="container">
<div class="wrapper">
<div id="mainCol">
- <%= yield.html_safe %>
+ <%= yield %>
<h3>Feedback</h3>
<p>