Permalink
Browse files

My absurd way to reduce pointless whitespace broke

some stuff, so it's going away. Maybe I'll just
format the output HTML instead.
  • Loading branch information...
1 parent 7aaf407 commit 8b9ba1b086dd06148b046763ddb63974fe4665ac @nilium committed Feb 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/oaktree/post_data.rb
View
@@ -141,7 +141,7 @@ def sync_changes force = false
@slug = @title.gsub(/[\n\t]+/, '').strip.gsub(/[^_\w\s]/, '').strip.gsub(/\s+/, '_').downcase
end
- @content = source_split[2].rstrip.reverse!.chomp!.reverse!
+ @content = source_split[2].rstrip
@public_path = "public/#{@time.strftime '%Y/%m'}/#{@slug}.html"
@public_path = "#{@spec.blog_root}/#{@public_path}" unless @spec.nil?

0 comments on commit 8b9ba1b

Please sign in to comment.