lib/wcc/blogs/post.rb in wcc-blogs-client-0.3.1 vs lib/wcc/blogs/post.rb in wcc-blogs-client-0.3.2

- old
+ new

@@ -25,10 +25,12 @@ end def html @html ||= WCC::Blogs.config.cache.fetch(['BlogPost', fragment_path]) do - WCC::Blogs.client.get(fragment_path, host || WCC::Blogs.config.base_url) + WCC::Blogs.client + .get(fragment_path, host || WCC::Blogs.config.base_url) + .force_encoding('UTF-8') end end def metadata WCC::Blogs::Metadata.new(raw['metadata']) if raw['metadata']