On Thu, Jun 25, 2009 at 7:37 AM, Dotan Cohen<dotanco...@gmail.com> wrote:
>> ( By having a special namespace for templates I mean that you would still be
>> able to use the namespace "templates" for any other purpose. The templates
>> would e.g. be in a folder "_templates" (normal page names can not start with
>> '_') and show up e.g. at the top of the index tree. )
> In that case, then names entered by users must be trimmed for
> whitespace (The underscore replaces space in Zim names). I think that
> Python has a function for this. I often wind up with a page name with
> a redundant space before or after the text if the name is copy /
> pasted from another application.

I think that is done already. At least the function for parsing page
names entered in one of the dialogs strips whitespace and other
characters that are not allowed.

-- Jaap

Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Reply via email to