Hi Tobias, I didn't get exactly your point about trimming white-space around slice names/values; as I understood, you propose just to trim them all, and that's the case for current [my] implementation.
The only inconsistency is what is accounted as slices. Currently, there can be: * up to one leading space in the slice name part * any number of spaces/tabs trailing slice name and around slice values By inconsistency I mean that the rule is a bite more complicated than just "any number of leading/trailing tabs and/or spaces for both slice names and values", but I wouldn't expect that somebody would add more than one space before a slice name. This issue seems to be closed in my implementation, isn't it? Best regards, Yakov. четверг, 21 февраля 2013 г., 23:10:30 UTC+4 пользователь Tobias Beer написал: > > Hi Yakov, > > A valid usecase for desiring blanks may be some form of markdown styled > content, e.g. where you know that your value is supposed to be indented. > But then, I'd think it would make more sense to leave the formatting to > whichever script would gather such slices and put them together with proper > (markdown) formatting. > > So, no... I guess, I currently wouldn't know of a usecase for leading / > trailing blanks... neither for slice-names nor for slice-vaues. > > And if we're actually strict about handling blanks... well, try adding > superfluous blanks before or after a tiddlers title. I think it makes sense > to not allow that. It's just way too confusing to find errors based on > unidentified blanks surrounding a string. > > So, actually, I think there's a sound argument for trimming both, > slicename and value. Not doing that, are we actually losing something that > we will miss later? Right now, I really can't think of a situation where > this would be the case. > > Cheers, Tobias. > -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywikidev?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
