dynarex-parser 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dynarex-parser.rb +1 -1
- metadata +1 -1
data/lib/dynarex-parser.rb
CHANGED
@@ -20,7 +20,7 @@ class DynarexParser
|
|
20
20
|
|
21
21
|
raw_records = s.fetch_node(:records)
|
22
22
|
node_name = raw_records[/<(\w+)/,1]
|
23
|
-
records = raw_records.split(/(?=<#{node_name}[^>]+>)/).map {|url| RexleParser.new(url).to_a}
|
23
|
+
records = raw_records.strip.split(/(?=<#{node_name}[^>]+>)/).map {|url| RexleParser.new(url).to_a}
|
24
24
|
|
25
25
|
@a = [root_name, "", {}, [*summary], ['records', "",{}, *records]]
|
26
26
|
end
|