1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

[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