What steps will reproduce the problem?
1. Try to output : "août"|capitalize
What is the expected output? What do you see instead?
Expected : Août
Instead of : AoÛT
What version of the product are you using? On what operating system?
Jsmart 2.9 min
Firefox 20.0
Mac OS X 10.8.3
Please provide any additional information below.
A Quick fix is to use another plugin:
jSmart.prototype.registerPlugin("modifier", "capitalize2", function(a, b) {
var tab = a.split(" ");
for(var i = 0 ; i < tab.length; i++){
tab[i]=tab[i].substr(0,1).toUpperCase() + tab[i].slice(1);
}
return tab.join(" ");
});
Original issue reported on code.google.com by
constant...@gmail.comon 22 May 2013 at 1:11