Skip to content

Commit

Permalink
Skip removing empty field whitespace or repeating composite separator…
Browse files Browse the repository at this point in the history
…s for fixed width segments.
  • Loading branch information
Robert Jackson committed Sep 13, 2012
1 parent 94b834d commit 914b992
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/hippo/segments/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@ def to_s
end
end

# remove extra field separators that aren't needed
unless self.class.identifier == 'ISA'
unless self.class.fixed_width
output = output.gsub(repeating_composite_separator_regexp, @field_separator)
output = output.gsub(empty_field_regexp,'\1\2')
end
Expand Down

0 comments on commit 914b992

Please sign in to comment.