From 4d8ef18b103e0c19041b0ae07cf5a2daaa845287 Mon Sep 17 00:00:00 2001 From: reviewher <24845478+reviewher@users.noreply.github.com> Date: Sat, 9 Oct 2021 17:49:35 -0400 Subject: [PATCH] ExtendScript --- bits/84_mht.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bits/84_mht.js b/bits/84_mht.js index 96ca019..e195562 100644 --- a/bits/84_mht.js +++ b/bits/84_mht.js @@ -88,7 +88,7 @@ function parse_quoted_printable(data/*:Array*/)/*:RawBytes*/ { } /* decode */ - for(var oi = 0; oi < o.length; ++oi) o[oi] = o[oi].replace(/=[0-9A-Fa-f]{2}/g, function($$) { return String.fromCharCode(parseInt($$.slice(1), 16)); }); + for(var oi = 0; oi < o.length; ++oi) o[oi] = o[oi].replace(/[=][0-9A-Fa-f]{2}/g, function($$) { return String.fromCharCode(parseInt($$.slice(1), 16)); }); return s2a(o.join("\r\n")); }