Permalink
Browse files

Don't strip output of pandoc

For markups like Markdon, spaces in output can potentially be significant (e.g. code). Therefore, they should not be stripped.
  • Loading branch information...
1 parent 79c7d64 commit 2f1f3409981cc8bf203ba2b583bf2dfad1c01d41 @dkharrat dkharrat committed Apr 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/pandoc-ruby.rb
View
@@ -101,7 +101,7 @@ def execute(command)
Open3::popen3(command) do |stdin, stdout, stderr|
stdin.puts @target
stdin.close
- output = stdout.read.strip
+ output = stdout.read
end
output
end

0 comments on commit 2f1f340

Please sign in to comment.