Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1429a71

Browse files
committed
fix(minerr): escape double quotes in error displays
Closes angular#3553
1 parent d69cd7d commit 1429a71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/ngdoc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ Doc.prototype = {
456456
minerrMsg = lookupMinerrMsg(self);
457457
dom.tag('pre', {
458458
class:'minerr-errmsg',
459-
'error-display': minerrMsg
459+
'error-display': minerrMsg.replace(/"/g, '"')
460460
}, minerrMsg);
461461
}
462462
if (self.ngdoc != 'overview') {

0 commit comments

Comments
 (0)