fix(minerr): escape double quotes in error displays

Closes #3553
This commit is contained in:
Ken Sheedlo 2013-08-12 14:53:43 -07:00
parent d69cd7d9ca
commit 1429a71474

View file

@ -456,7 +456,7 @@ Doc.prototype = {
minerrMsg = lookupMinerrMsg(self);
dom.tag('pre', {
class:'minerr-errmsg',
'error-display': minerrMsg
'error-display': minerrMsg.replace(/"/g, '"')
}, minerrMsg);
}
if (self.ngdoc != 'overview') {