lib/cucumber/formatter/html.rb in aslakhellesoy-cucumber-0.3.0 vs lib/cucumber/formatter/html.rb in aslakhellesoy-cucumber-0.3.0.1
- old
+ new
@@ -112,10 +112,10 @@
@step_matches << step_match
unless @skip_step
step_name = step_match.format_args(lambda{|param| "<span>#{param}</span>"})
@builder.div do |div|
- div << h("#{keyword} #{step_name}")
+ div << h("#{keyword} #{step_name}").gsub(/<span>/, '<span>').gsub(/<\/span>/, '</span>')
end
end
end
def visit_exception(exception, status)