diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2018-08-26 16:50:16 -0700 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2018-08-26 16:50:16 -0700 |
commit | 5f0557786b04a8802109ea99b734d32638d7ea6c (patch) | |
tree | fcd1d1eb1445b5a5e97da9462c8be4780c1dc552 | |
parent | cfb593bcb2c4a7b62ed5bdf4a7833adf63428484 (diff) | |
download | patchfoo-5f0557786b04a8802109ea99b734d32638d7ea6c.tar.gz patchfoo-5f0557786b04a8802109ea99b734d32638d7ea6c.zip |
Prevent double-html escaping
-rw-r--r-- | lib/serve.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/serve.js b/lib/serve.js index 3094bb8..f96c72a 100644 --- a/lib/serve.js +++ b/lib/serve.js @@ -2414,7 +2414,7 @@ Serve.prototype.gitDiffTable = function (diff, lineComments, lineCommentInfo) { + '#' + idEnc }, '…') : '' ), - ph('td', ph('pre', u.escapeHTML(html))) + ph('td', ph('pre', html)) ]), (lineComments[newLineNum] ? ph('tr', |