lib/nanoc/base/page_rep.rb in nanoc-2.1.4 vs lib/nanoc/base/page_rep.rb in nanoc-2.1.5

- old
+ new

@@ -268,9 +268,11 @@ filter = klass.new(self) # Run filter Nanoc::NotificationCenter.post(:filtering_started, self, klass.identifier) content = filter.run(content) + # FIXME hacky + content.force_encoding('utf-8') if content.respond_to?(:'force_encoding') Nanoc::NotificationCenter.post(:filtering_ended, self, klass.identifier) end # Set content @content[stage] = content