summaryrefslogtreecommitdiffabout
path: root/kabc/vcard/ContentLine.cpp
Unidiff
Diffstat (limited to 'kabc/vcard/ContentLine.cpp') (more/less context) (show whitespace changes)
-rw-r--r--kabc/vcard/ContentLine.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/kabc/vcard/ContentLine.cpp b/kabc/vcard/ContentLine.cpp
index 2f88cde..0a2f97d 100644
--- a/kabc/vcard/ContentLine.cpp
+++ b/kabc/vcard/ContentLine.cpp
@@ -163,4 +163,9 @@ ContentLine::_parse()
163 163
164 // Unfold folded lines
165 // NLR
166 strRep_ = strRep_.replace( QRegExp( "\\r" ), "" );
164 // Unqote newlines 167 // Unqote newlines
165 strRep_ = strRep_.replace( QRegExp( "\\\\n" ), "\n" ); 168 strRep_ = strRep_.replace( QRegExp( "\\\\n" ), "\n" );
169 //NLR
170 strRep_ = strRep_.replace( QRegExp( "\\\\r" ), "\r" );
166 171
@@ -287,2 +292,3 @@ ContentLine::_assemble()
287 292
293 line = line.replace( QRegExp( "\r" ), "\\r" );
288 line = line.replace( QRegExp( "\n" ), "\\n" ); 294 line = line.replace( QRegExp( "\n" ), "\\n" );