Skip to content

Commit

Permalink
Fix !ruby/string:Sequel::SQL::Blob error in MT excerpts
Browse files Browse the repository at this point in the history
Fixes #113.
  • Loading branch information
parkr committed Dec 26, 2013
1 parent f994387 commit 1f2d971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jekyll-import/importers/mt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def self.post_metadata(post, options = default_options)
'layout' => 'post',
'title' => encode(post[:entry_title], options),
'date' => post_date(post).strftime("%Y-%m-%d %H:%M:%S %z"),
'excerpt' => encode(post[:entry_excerpt], options),
'excerpt' => encode(post[:entry_excerpt].to_s, options),
'mt_id' => post[:entry_id]
}
metadata['published'] = false if post[:entry_status] != STATUS_PUBLISHED
Expand Down

0 comments on commit 1f2d971

Please sign in to comment.