TiddlyWiki.org

Ticket #418 (closed defect: fixed)

Opened 8 months ago

Last modified 8 months ago

Trim trailing spaces and tabs from title

Reported by: KenGirard Assigned to: JeremyRuston
Priority: minor Milestone: 2.3
Component: core Version:
Severity: low Keywords:
Cc:

Description

Currently if there is a space or tab at the beginning or end of the tiddler's title then tiddler links do not work.

FND suggested to use 'str.trim();' to automatically fix this (I am guessing this would be as part of 'config.commands.saveTiddler.handler').

Change History

28/11/07 16:16:55 changed by JeremyRuston

  • priority changed from undefined to minor.
  • severity changed from undefined to low.
  • milestone set to 2.3.

29/11/07 16:32:12 changed by MartinBudden

  • milestone set to 2.3.

30/11/07 17:48:21 changed by JeremyRuston

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in changeset:3096

The fix only trims spaces from tiddlers that do not currently exist. This means that if you have a tiddler that for some reason did have a space before or after it's title, then you can still edit it.