Skip to content

Commit

Permalink
Do not escape the replaced entity (
)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanTron committed Aug 24, 2011
1 parent 13df351 commit 80c67a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cucumber/formatter/html.rb
Expand Up @@ -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

Expand Down

0 comments on commit 80c67a3

Please sign in to comment.