lib/awestruct/handlers/front_matter_handler.rb in awestruct-0.5.3 vs lib/awestruct/handlers/front_matter_handler.rb in awestruct-0.5.4.beta1

- old
+ new

@@ -42,10 +42,10 @@ return if ( @parsed_parts && ! delegate.stale? ) full_content = delegate.raw_content #if force_encoding is supported then set to charset defined in site config - full_content.force_encoding(site.encoding) if (full_content.respond_to?(:force_encoding) && site.encoding) + full_content.force_encoding(site.encoding) if (site.encoding && full_content.respond_to?(:force_encoding)) yaml_content = '' dash_lines = 0 mode = :yaml