[Bug 141497] New: templates: improve whitespace handling

Maciej Pilichowski bluedzins at wp.pl
Sat Feb 10 17:55:19 GMT 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=141497         
           Summary: templates: improve whitespace handling
           Product: kmail
           Version: unspecified
          Platform: SuSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs kde org
        ReportedBy: bluedzins wp pl


Version:            (using KDE KDE 3.5.6)
Installed from:    SuSE RPMs

Currently KMail has problem with whitespaces in templates, for example
%REM something%-<a here is the space at the end>
%QUOTE

This it quite trivial example of course. Anyway, the problem is they are not seen but they matter when the template is used.
a) do the whitespaces at the end are important? if no, I think it would be the best to strip them
b) if (a)-yes maybe put gray boxes instead of whitespaces

I would opt for (a) -- easy, efficient, and for any case if it would matter for the user it could be a equivalent
<space>%NL

when %NL stands for new line (but I don't even know if such macro exists in templates).



More information about the Kdepim-bugs mailing list