Fix base64
git-svn-id: file:///home/svn/framework3/trunk@4057 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
68a5fb928d
commit
38b01597e8
|
@ -415,7 +415,7 @@ module Text
|
|||
# Base64 encoder
|
||||
#
|
||||
def self.encode_base64(str)
|
||||
Base64.encode64(str).chomp
|
||||
Base64.encode64(str).gsub(/\s+/, '')
|
||||
end
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue