gruntjs/grunt-contrib-jasmine — pull request #134 by Wildhoney (2014-03-27 12:50:55+00:00)
Title: Wrapped Failure Message in CDATA

I think it's wise to wrap the message in `CDATA` since there's a good chance the message will contain XML-like tags.

In my case it was due to one of my failing Angular tests:

```
Expected { $id : '00W', $$childTail : null, $$childHead : null, $$prevSibling : null, $$nextSibling : { $id : '00X', this : , $$listeners : { }, $$listenerCount : { }, $parent : { $id : '00V', this : ...
```

*(Truncated for sake of sanity)*

In the case of the ``, it was causing the Jenkins job to reject the JUnit XML because it renders an invalid XML document.

With the `CDATA` in place all HTML entities will be nicely escaped, and Jenkins will be happy once again! :+1: