lib/octopress-ink/utils.rb in octopress-ink-1.0.0.rc.48 vs lib/octopress-ink/utils.rb in octopress-ink-1.0.0.rc.49

- old
+ new

@@ -14,9 +14,10 @@ .gsub(/^/,' ') # indent .gsub(/"(.+?)":/,'\1:') # remove quotes around keys .gsub(/,$/,'') # remove commas from end of lines .gsub(/{\n/,"\n") # remove keys with empty hashes .gsub(/^\s+}\n/,'') # remove keys with empty hashes + .gsub(/\[\s+\]/,'[]') # remove whitespace in empty arrays end end end end