diff --git a/exec/load/newsutil.js b/exec/load/newsutil.js index 08208679cfcebb20f770053dcfc9896a10239607..2e6692ed7bb4e9642c53887bc49752c30ab428c6 100644 --- a/exec/load/newsutil.js +++ b/exec/load/newsutil.js @@ -52,6 +52,16 @@ function write_news_header(hdr,writeln) function parse_news_header(hdr, line) { /* Parse header lines */ + if(line.charAt(0)==' ' || line.charAt(0)=='\t' && hdr.field_list) { + /* "folded" header field */ + hdr.field_list.push( + { type: RFC822HEADER, + data: line + } + ); + return; + } + if((sp=line.indexOf(':'))==-1) return;