CakePHP convert quotes.

2009-11-18 Thread Caio Tarifa
Hi. CakePHP is converting my quotes for ASCII decimal. Look the example: Input: ?php echo $form-text('Controller.input', array(class = {mask:'9', type:'repeat'})); ? Output: input name=data[Controller][input] type=text class={mask:#039;9#039;, type:#039;repeat#039;} value= id=ControllerInput /

Re: CakePHP convert quotes.

2009-11-18 Thread jodator
I'm trying to understand what you want to get with class= {mask:'9', type:'repeat'} ? class name in HTML should be alfanumerical (strting from a letter), so I don't see a point in this statement (maybe I'm wront ;-) ). Anyhow cakePHP escapes attributes with h() function, try to add escape =