Each time example_failed is called it resets the counter to zero. Counter is then used to generate id's which are always id="failure_0". If @counter were set in the constructed and added to each time example_failed was called this would fix the issue.
Care to submit a patch?
Here you go:
Also, it was affecting the textmate formatter as well. Let me know if you want something more. Or a different format, because I'm not used to committing patches to other people's code on github. So let me know if there is better etiquette.
corrected the count in the html formater
- Closes #265.