Skip to content

Commit

Permalink
Fix typo in comment. BIG -> BIT
Browse files Browse the repository at this point in the history
  • Loading branch information
shalecraig committed Apr 10, 2015
1 parent 557abc6 commit f70f985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/premailer/adapter/nokogiri.rb
Expand Up @@ -213,7 +213,7 @@ def load_html(input) # :nodoc:
end
end
# Default encoding is ASCII-8BIT (binary) per http://groups.google.com/group/nokogiri-talk/msg/0b81ef0dc180dc74
# However, we really don't want to hardcode this. ASCII-8BIG should be the default, but not the only option.
# However, we really don't want to hardcode this. ASCII-8BIT should be the default, but not the only option.
if thing.is_a?(String) and RUBY_VERSION =~ /1.9/
thing = thing.force_encoding(@options[:input_encoding]).encode!
doc = ::Nokogiri::HTML(thing, nil, @options[:input_encoding]) {|c| c.recover }
Expand Down

0 comments on commit f70f985

Please sign in to comment.