Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Do not escape the replaced entity (
)

  • Loading branch information...
commit 80c67a3d99ab833e98e7e2fbca08b9c42209dfd2 1 parent 13df351
Jonathan Tron JonathanTron authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/cucumber/formatter/html.rb
2  lib/cucumber/formatter/html.rb
View
@@ -291,7 +291,7 @@ def after_multiline_arg(multiline_arg)
def doc_string(string)
return if @hide_this_step
@builder.pre(:class => 'val') do |pre|
- @builder << h(string.gsub("\n", '&#x000A;'))
+ @builder << h(string).gsub("\n", '&#x000A;')
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.