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:
parent
337d470cad
commit
784b95a60c
2 changed files with 6 additions and 1 deletions
|
@ -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).
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue