avoid problems concatenating CONT and CONC records #1

Merged
merged 1 commit into from Jan 26, 2012
Jump to file
+2 −2
Split
View
@@ -29,9 +29,9 @@ def add_detail(level, tag, val)
last_val = last_detail[:value]
last_root = last_detail[:root]
if tag == 'CONT'
- last_detail[:value] = [last_val.to_s + "\n" + val.to_s]
+ last_detail[:value] = last_val.to_s + "\n" + val.to_s
elsif tag == 'CONC'
- last_detail[:value] = [last_val.to_s + val.to_s]
+ last_detail[:value] = last_val.to_s + val.to_s
else
if level > last_level
h = {}