lib/action_view/template/handlers/erb.rb in actionview-6.0.2.2 vs lib/action_view/template/handlers/erb.rb in actionview-6.0.3.rc1
- old
+ new
@@ -61,10 +61,9 @@
trim: (self.class.erb_trim_mode == "-")
).src
end
private
-
def valid_encoding(string, encoding)
# If a magic encoding comment was found, tag the
# String with this encoding. This is for a case
# where the original String was assumed to be,
# for instance, UTF-8, but a magic comment