From f195be7d754bd71f0727a2a1e869d1ab975a474a Mon Sep 17 00:00:00 2001 From: bdorry Date: Fri, 1 Apr 2011 11:08:28 -0400 Subject: [PATCH] updated base request parser to not eagerly strip return data --- lib/fog/core/parser.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fog/core/parser.rb b/lib/fog/core/parser.rb index 0bf04e026..e5719e2ae 100644 --- a/lib/fog/core/parser.rb +++ b/lib/fog/core/parser.rb @@ -15,8 +15,8 @@ module Fog end def characters(string) - @value ||= '' - @value << string.strip + @value ||= string + @value || '' end def start_element(name, attrs = [])