aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-08-26 16:50:16 -0700
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-08-26 16:50:16 -0700
commit5f0557786b04a8802109ea99b734d32638d7ea6c (patch)
treefcd1d1eb1445b5a5e97da9462c8be4780c1dc552 /lib
parentcfb593bcb2c4a7b62ed5bdf4a7833adf63428484 (diff)
downloadpatchfoo-5f0557786b04a8802109ea99b734d32638d7ea6c.tar.gz
patchfoo-5f0557786b04a8802109ea99b734d32638d7ea6c.zip
Prevent double-html escaping
Diffstat (limited to 'lib')
-rw-r--r--lib/serve.js2
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',