Commit f27c022e authored by Joby Harding's avatar Joby Harding Committed by Eloy Lafuente
Browse files

MDL-49032 lib/bennu: use HTAB only when folding lines

parent 16eedce0
...@@ -79,7 +79,7 @@ function rfc2445_fold($string) { ...@@ -79,7 +79,7 @@ function rfc2445_fold($string) {
/* Add the portion to the return value, terminating with CRLF.HTAB /* Add the portion to the return value, terminating with CRLF.HTAB
As per RFC 2445, CRLF.HTAB will be replaced by the processor of the As per RFC 2445, CRLF.HTAB will be replaced by the processor of the
data */ data */
$retval .= $section.RFC2445_CRLF.RFC2445_WSP; $retval .= $section . RFC2445_CRLF . substr(RFC2445_WSP, 0, 1);
$i++; $i++;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment