diff --git a/lib/jekyll/jekyll-import/tumblr.rb b/lib/jekyll/jekyll-import/tumblr.rb index dc6bd97b..3f933b72 100644 --- a/lib/jekyll/jekyll-import/tumblr.rb +++ b/lib/jekyll/jekyll-import/tumblr.rb @@ -110,8 +110,7 @@ def self.post_to_hash(post, format) end date = Date.parse(post['date']).to_s title = Nokogiri::HTML(title).text - slug = title.downcase.strip.gsub(' ', '-').gsub(/[^\w-]/, '') - slug = slug.slice(0..200) if slug.length > 200 + slug = post["slug"] { :name => "#{date}-#{slug}.#{format}", :header => {