Fixed encoding for new buffer

This commit is contained in:
Linus Pettersson 2013-08-18 00:07:26 +02:00
parent f92ae94728
commit e77e615314

View file

@ -277,7 +277,7 @@ module Middleman
content = callback.call(content, path, locs, template_class)
end
output = ::ActiveSupport::SafeBuffer.new
output = ::ActiveSupport::SafeBuffer.new ""
output.safe_concat content
output
ensure