Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add CHANGELOG entry for #10971

[ci skip]
  • Loading branch information...
commit ca23e6d4d3e3a14e2e3ec1af46ca2bd2c7d5576c 1 parent 2553bd7
@rafaelfranca rafaelfranca authored
Showing with 14 additions and 0 deletions.
  1. +14 −0 actionpack/CHANGELOG.md
View
14 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
Please sign in to comment.
Something went wrong with that request. Please try again.