From 58510fc58fdf4903aa9b80aa2c2a402874edb5c8 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Fri, 15 Apr 2011 11:34:05 -0400
Subject: [PATCH] Use CRLF + 1 space for folding

---
 program/include/rcube_vcard.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/include/rcube_vcard.php b/program/include/rcube_vcard.php
index fbe0783..fe9777d 100644
--- a/program/include/rcube_vcard.php
+++ b/program/include/rcube_vcard.php
@@ -472,7 +472,7 @@
     for ($n = $c; $c < strlen($matches[1]); $c++) {
       // break if length > 75 or mutlibyte character starts after position 71
       if ($n > 75 || ($n > 71 && ord($matches[1][$c]) >> 6 == 3)) {
-        $out .= "\n  ";
+        $out .= "\r\n ";
         $n = 0;
       }
       $out .= $matches[1][$c];

--
Gitblit v1.9.1