diff --git a/lib/tilt/template.rb b/lib/tilt/template.rb index a9376c80..f6afbc2e 100644 --- a/lib/tilt/template.rb +++ b/lib/tilt/template.rb @@ -252,7 +252,7 @@ def compile_template_method(local_keys) method_source = String.new if method_source.respond_to?(:force_encoding) - method_source.force_encoding(source.encoding) + method_source.force_encoding(source.encoding) end method_source << <<-RUBY