Log Message: |
Wrap error messages and details in CDATA
The xml parser used by nokogiri-java (xerces) is much more strict about
unescaped entities, and causes nokogiri to ignore nodes containing them.
Wrapping the content in CDATA blocks fixes this.
Note: this fix does not use the haml :cdata filter, since you cannot
strip whitespace inside the filter.
|