Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove previous results using images

  • Loading branch information...
commit 579303ce49f40665e761753b3fe546f4aa06580f 1 parent f10cfcc
@stewart stewart authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/gitnesse/wiki.rb
View
2  lib/gitnesse/wiki.rb
@@ -108,7 +108,7 @@ def remove_past_results
def strip_results(content)
if content.match(/\u0060{3}gherkin.*\u0060{3}(.*)/m)[1]
[ "FAILED", "PASSED", "PENDING", "UNDEFINED" ].each do |type|
- content.gsub!(/\n*\`Last result was #{type}: .*\n*/, '')
+ content.gsub!(/\n*\!\[\]\(.*\) \`Last result was #{type}: .*\n*/, '')
end
end
content
Please sign in to comment.
Something went wrong with that request. Please try again.