aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-06-24 16:19:38 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-06-24 16:19:38 -0300
commitca23e6d4d3e3a14e2e3ec1af46ca2bd2c7d5576c (patch)
treefc98efac69e87755941f7f8ef01c30fc777ea45a /actionpack
parent2553bd785c0b41193257851ac0267515ec3c9dc3 (diff)
downloadrails-ca23e6d4d3e3a14e2e3ec1af46ca2bd2c7d5576c.tar.gz
rails-ca23e6d4d3e3a14e2e3ec1af46ca2bd2c7d5576c.tar.bz2
rails-ca23e6d4d3e3a14e2e3ec1af46ca2bd2c7d5576c.zip
Add CHANGELOG entry for #10971
[ci skip]
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/CHANGELOG.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md
index 585cad24db..5508fb9453 100644
--- a/actionpack/CHANGELOG.md
+++ b/actionpack/CHANGELOG.md
@@ -1,5 +1,19 @@
## unreleased ##
+* Always escape the result of `link_to_unless` method.
+
+ Before:
+
+ link_to_unless(true, '<b>Showing</b>', 'github.com')
+ # => "<b>Showing</b>"
+
+ After:
+
+ link_to_unless(true, '<b>Showing</b>', 'github.com')
+ # => "&lt;b&gt;Showing&lt;/b&gt;"
+
+ *dtaniwaki*
+
* Use a case insensitive URI Regexp for #asset_path.
This fix a problem where the same asset path using different case are generating