diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-06-03 11:53:21 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-06-03 12:37:01 -1000 |
commit | 4d96b6e0f7b726a5d96742e51fcb6c05b1d3f85f (patch) | |
tree | 21b82ee95357c8f232a2a5fa486b16e26b845b07 /lib/util.js | |
parent | 81e06ce58a3a4a09b7c6c2837e8076ecec6e38e3 (diff) | |
download | patchfoo-4d96b6e0f7b726a5d96742e51fcb6c05b1d3f85f.tar.gz patchfoo-4d96b6e0f7b726a5d96742e51fcb6c05b1d3f85f.zip |
Show commit files changed
Diffstat (limited to 'lib/util.js')
-rw-r--r-- | lib/util.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/util.js b/lib/util.js index a5f14f5..e4cf415 100644 --- a/lib/util.js +++ b/lib/util.js @@ -153,6 +153,7 @@ u.customError = function (name) { } u.escapeHTML = function (html) { + if (!html) return '' return html.toString('utf8') .replace(/</g, '<') .replace(/>/g, '>') |