jimivdw / grunt-mutation-testing

JavaScript Mutation Testing as grunt plugin. Tests your tests by mutating the code.
MIT License
51 stars 11 forks source link

using htmlparser2 to excape disruptive html during report generation #19

Closed paysdoc closed 9 years ago

paysdoc commented 9 years ago

I think your comment went missing because I rebased the branch to correct a spelling mistake in the commit message. I didn't realise that it would erase your message (though I guess I should've if I'd thought about it). Anyway, I simplified the html detection a little and now broken tags and self-closing tags also get escaped. I hope that this solves all the situations. I couldn't think of any more edge cases

paysdoc commented 9 years ago

Still got an error though: the reporter no longer shows the karma-mocha stuff. So hang on with merging

paysdoc commented 9 years ago

That is indeed a lot neater! I've updated the files