Skip to content
Snippets Groups Projects
Commit 5e0054f9 authored by deuce's avatar deuce
Browse files

Special-case unfolding when the previous line ends with a comma. In this

case, remove the LWS.
parent 57c66390
Branches
Tags
No related merge requests found
......@@ -116,6 +116,7 @@ function Message_DoCommand(command)
var m=headers.match(/X-Spam-Status:\s*([\x00-\xff]*?)\r\n[^\s]/);
if(m!=null) {
var hdr=m[1].replace(/\s+/g,' ');
hdr=hdr.replace(/,\r\n\s+/g,'');
var tokens=hdr.split(/\s+/);
switch(tokens[0]) {
case 'No,':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment