diff options
author | Andre Arko <andre@arko.net> | 2011-04-14 16:25:08 +0800 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2011-04-14 16:33:41 +0800 |
commit | 7660e7cb4df69ad127661ad87f495a3b212170b9 (patch) | |
tree | f31be8968db5a9385eeccda24476d66338acfdd7 /activeresource/examples | |
parent | ada550d9088be9845ff8e4dbe0f27e574c5fc62b (diff) | |
download | rails-7660e7cb4df69ad127661ad87f495a3b212170b9.tar.gz rails-7660e7cb4df69ad127661ad87f495a3b212170b9.tar.bz2 rails-7660e7cb4df69ad127661ad87f495a3b212170b9.zip |
attributes no longer disappear if a tag contains whitespace
old:
Hash.from_xml("<tag foo='bar'>\n</tag>")
=> {"tag"=>"\n"}
new:
Hash.from_xml("<tag foo='bar'>\n</tag>")
=> {"tag"=>{"foo"=>"bar", "__content__"=>"\n"}
Diffstat (limited to 'activeresource/examples')
0 files changed, 0 insertions, 0 deletions