lib/webby/helpers/ultraviolet_helper.rb in webby-0.8.1 vs lib/webby/helpers/ultraviolet_helper.rb in webby-0.8.2

- old
+ new

@@ -1,6 +1,6 @@ -# $Id: ultraviolet_helper.rb 190 2008-03-05 05:35:00Z tim_pease $ +# $Id: ultraviolet_helper.rb 199 2008-03-11 18:54:45Z tim_pease $ # This code was provided by Guillaume Carbonneau -- http://radr.ca/ # Many thanks for his support of Webby! if try_require 'uv' @@ -39,10 +39,10 @@ buffer = eval('_erbout', block.binding) pos = buffer.length block.call(*args) - text = buffer[pos..-1].strip + text = buffer[pos..-1] if text.empty? buffer[pos..-1] = '' return end