1
0
mirror of https://github.com/moparisthebest/davmail synced 2025-01-05 10:47:59 -05:00

CardDav: do not encode simple (not compound) properties

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1222 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2010-07-20 10:56:52 +00:00
parent 2f82daa48f
commit e4f0a89d54

View File

@ -31,9 +31,7 @@ public class VCardWriter extends ICSBufferedWriter {
if ((propertyValue != null) && (propertyValue.length() > 0)) { if ((propertyValue != null) && (propertyValue.length() > 0)) {
write(propertyName); write(propertyName);
write(":"); write(":");
StringBuilder valueBuffer = new StringBuilder(); writeLine(propertyValue);
appendEncodedValue(valueBuffer, propertyValue);
writeLine(valueBuffer.toString());
} }
} }