Re: Odd code in sanitize core lib?

2009-10-29 Thread George H
I thought this was the case too (I use Consolas fwiw), so I pasted the code into an empty text editor (TextWrangler) and did a search for '!', and it returned two results. What font are you using to view the code, making the search and replace strings different? As far as I can tell, the search an

Re: Odd code in sanitize core lib?

2009-10-29 Thread Martin Westin
I am just guessing here but couldn't it be replacing "looks like an exclamation but is really far out into outfer space" with a normal exclamation? Using a "bad" font and the code look different. On Oct 29, 7:32 am, Miles J wrote: > I thought you were lying so I checked, and haha it is there.

Re: Odd code in sanitize core lib?

2009-10-28 Thread Miles J
I thought you were lying so I checked, and haha it is there. Im curious on this as well. On Oct 28, 8:51 pm, George H wrote: > Hi guys, > > I've been debugging my controller that is using Sanitize and I had a > peek inside the CakePHP Sanitize core lib file, where I found > something odd. > > Is

Odd code in sanitize core lib?

2009-10-28 Thread George H
Hi guys, I've been debugging my controller that is using Sanitize and I had a peek inside the CakePHP Sanitize core lib file, where I found something odd. Is it possible if someone could explain to me (I'm just genuinely curious) the reasoning behind line 223 in /cake/libs/sanitize.php (version