Merge pull request #2 from digarok/pass-unhandled-chars

don't drop unhandled characters
This commit is contained in:
Dagen Brock 2019-04-29 06:35:18 -05:00 committed by GitHub
commit 22bfce63a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -227,6 +227,12 @@ source_contents.each_line do |line|
elsif in_operand
buf << c
x+=1
# if they have unhandled weirdness, just pass them through minus whitespace
else
if !c.strip.empty?
buf << c
x+=1
end
end
end
end