1
0
mirror of https://github.com/digarok/radius.git synced 2024-06-01 00:41:30 +00:00

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

View File

@ -227,6 +227,12 @@ source_contents.each_line do |line|
elsif in_operand elsif in_operand
buf << c buf << c
x+=1 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 end
end end