Re: token.contents.split() vs. token.split_contents()

2008-10-22 Thread Malcolm Tredinnick
On Tue, 2008-10-21 at 05:22 -0700, Jacek Fedorynski wrote: > Hi, > > I noticed that some of the default tags use token.split_contents() to > parse their arguments, while others use token.contents.split(). At > first glance, it seems that split_contents() is the smarter way to go, > because it

token.contents.split() vs. token.split_contents()

2008-10-21 Thread Jacek Fedorynski
Hi, I noticed that some of the default tags use token.split_contents() to parse their arguments, while others use token.contents.split(). At first glance, it seems that split_contents() is the smarter way to go, because it knows about quoted strings. Alas, there's a problem with filters. For