aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
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:21:54 -0300
commit035e2976d0d85106fe6f613373fab18497498671 (patch)
treead4cb698192f81506ec602e5cc48cc53bc1966c3 /actionview
parent359a2196642b92883e120c4922d660e908a9080d (diff)
downloadrails-035e2976d0d85106fe6f613373fab18497498671.tar.gz
rails-035e2976d0d85106fe6f613373fab18497498671.tar.bz2
rails-035e2976d0d85106fe6f613373fab18497498671.zip
Add CHANGELOG entry for #10971
[ci skip] Conflicts: actionpack/CHANGELOG.md
Diffstat (limited to 'actionview')
-rw-r--r--actionview/CHANGELOG.md16
1 files changed, 15 insertions, 1 deletions
diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md
index 135a96621d..31e123d916 100644
--- a/actionview/CHANGELOG.md
+++ b/actionview/CHANGELOG.md
@@ -1,3 +1,17 @@
+* 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
@@ -39,4 +53,4 @@
*Piotr Sarnacki*, *Łukasz Strzałkowski*
-Please check [4-0-stable (ActionPack's CHANGELOG)](https://github.com/rails/rails/blob/4-0-stable/actionpack/CHANGELOG.md) for previous changes. \ No newline at end of file
+Please check [4-0-stable (ActionPack's CHANGELOG)](https://github.com/rails/rails/blob/4-0-stable/actionpack/CHANGELOG.md) for previous changes.