In toying with slugify filter operator, I remarked a few problems not very important but anyway, here they are :
- the
…character (yes it’s one char) should be translated as three points...and not removed. This is really a typographic enhancement for...and since slugify would keep those..., it should also transform…into...to be consistent; - the
ßcharacter should be translated tossjust likeijis currently translated toij; - the
þshould likewise be translated toth.
This being said, I also think that things like -. or .- or .. should be translated to . and also that final . should be removed and maybe even initial . too (who would want to hide a tiddler file within tiddlers file? but it could be kept as it would be on purpose.).
Perhaps slugify could have a parameter for keeping / (or \ on windows) to allow for sanitation of filepaths when directory structure is wanted? If you don’t mind not having _ in your filename, you can substitute _ by - then / by _ then slugify then substitute _ by / and you would get a substitute for this functionality.