Add 'escape' => false to your params array. On Sat, Mar 14, 2009 at 12:45 PM, mklappen <[email protected]> wrote: > > Hi > > Is there a way to use the special characters « and » in > pagination class without cakephp converting the & sign into '&'? > > I found a couple posts on it here but they really haven't helped me > figure out if/how it can be done... > http://groups.google.com/group/cake-php/browse_thread/thread/a1963f6414213afc/0c05bc1d544faecc?lnk=gst&q=html+character+code#0c05bc1d544faecc > > This is the code that was created from bake (I changed the << >> to > the html special char codes...) > > <?php echo $paginator->prev('« '.__('previous', true), array(), > null, array('class'=>'disabled'));?> > | <?php echo $paginator->numbers();?> > | <?php echo $paginator->next(__('next', true).' »', array(), > null, array('class'=>'disabled'));?> > > Thanks in advance for any help. > > > >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
