Discussion: capitalize modifier
Afficher un message
Vieux 24/11/2005, 15h04   #3
Daniel Hedrick
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [SMARTY] capitalize modifier

On Nov 24, 2005, at 6:55 AM, messju mohr wrote:
> count this behaviour as "on purpose"


Just because something is "on purpose" doesn't mean it's not a bug.

According to the documentation, "[capitalize] is used to capitalize
the first letter of all words in a variable."

In the word "didn't", the "T" is not the first letter.

Therefore, it is a bug.

It's either in the code or in the documentation. I don't care which
you fix, but it most certainly *is* a difference in behavior from the
expectation. A dependency on pcre doesn't make it any less of a bug.

-daniel
--
http://www.hedrick.org/daniel?sig



  Réponse avec citation
 
Page generated in 0,04193 seconds with 9 queries