Skip to content
Browse files

Fix the NUL chars filling the html outputs

  • Loading branch information...
1 parent b754269 commit 926d8bb0268cca9b56dc64f83d12c22a7e2b9c5c @fredb fredb committed with infininight Sep 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Support/tmvc/lib/application_controller.rb
View
2 Support/tmvc/lib/application_controller.rb
@@ -65,7 +65,7 @@ def flush
start_layout
Object::STDOUT << @output_buffer.string
Object::flush
- @output_buffer.truncate(0)
+ @output_buffer.string = ""
end
def start_layout

0 comments on commit 926d8bb

Please sign in to comment.
Something went wrong with that request. Please try again.