[Haml] Fix our monkeypatch of safe_concat.

This commit is contained in:
Nathan Weizenbaum 2010-02-07 00:12:22 -08:00
parent 337d470cad
commit 784b95a60c
2 changed files with 6 additions and 1 deletions

View File

@ -3,6 +3,11 @@
* Table of contents
{:toc}
## 2.2.19 (Unreleased)
* Fix a bug with the integration with Rails' XSS support.
In particular, correctly override `safe_concat`.
## 2.2.18
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.18).

View File

@ -114,7 +114,7 @@ module ActionView
if is_haml?
haml_buffer.buffer.concat(string)
else
concat_without_haml(string)
safe_concat_without_haml(string)
end
end
alias_method :safe_concat_without_haml, :safe_concat