Bug 76126

Summary: knotes does not preserve TAB in notes!
Product: [Applications] knotes Reporter: Jens <jens-bugs.kde.org>
Component: generalAssignee: Michael Brade <brade>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 3.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jens 2004-02-25 20:03:03 UTC
Version:           3.0 (using KDE 3.2 BRANCH >= 20040204,  (testing/unstable))
Compiler:          gcc version 3.3.3 20040125 (prerelease) (Debian)
OS:          Linux (i686) release 2.6.2-bk4-jb-k7

Hi,

when you have TAB characters in your notes and leave the note window open and quit KDE, upon restart all TABs are converted to spaces.

This is bad because you cannot create "tables" (with TAB) in knotes then.



Thanks,

Jens
Comment 1 Michael Brade 2004-03-06 17:54:06 UTC
CVS commit by brade: 

LinuxTag: Oh mate, this took me the whole bloody day!! To figure that libical
simply didn't implement to read \t properly although it writes it.

CCMAIL: 76126-done@bugs.kde.org


  M +6 -1      icalvalue.c   1.12


--- kdepim/libical/src/libical/icalvalue.c  #1.11:1.12
@@ -198,4 +198,9 @@ char* icalmemory_strdup_and_dequote(cons
                     break;
                 }
+                case 't':
+                {
+                    *pout = '\t';
+                    break;
+                }
                 default:
                 {