visionmedia/mocha — pull request #603 by paularmstrong (2012-10-08 03:32:23+00:00)
Title: Properly Escape Suite and Test Titles for Doc

The attached fixes the following bug:

## Repro

1. Name a suite something with HTML tags `describe('Something like ', function () { ... });`
1. Add a test with HTML in the title `it('has a element');`
1. Run doc reporter

## Expected

Output is escaped and `` tags turn into `<b>`

## Actual

Output is not escaped and tag affects the output HTML.