diff options
author | Jeffrey Hardy <packagethief@gmail.com> | 2008-10-22 15:42:36 -0400 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-10-23 19:16:26 -0700 |
commit | 3bcadc9290c7fab2491e900458ec5b608a037718 (patch) | |
tree | 2a1605a6b630595e84e6dfb3434d9982fc6fe434 /actionpack/lib | |
parent | 1a1822726189f3cfff305dea62e5cfbdbc0da577 (diff) | |
download | rails-3bcadc9290c7fab2491e900458ec5b608a037718.tar.gz rails-3bcadc9290c7fab2491e900458ec5b608a037718.tar.bz2 rails-3bcadc9290c7fab2491e900458ec5b608a037718.zip |
Fix incorrect closing CDATA delimiter. Add tests for CDATA nodes.
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/vendor/html-scanner/html/node.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb b/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb index 47ddc6146f..6c0331636c 100644 --- a/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb +++ b/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb @@ -272,7 +272,7 @@ module HTML #:nodoc: # itself. class CDATA < Text #:nodoc: def to_s - "<![CDATA[#{super}]>" + "<![CDATA[#{super}]]>" end end |