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 &#171; and &#187; in
> pagination class without cakephp converting the & sign into '&amp'?
>
> 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('&#171; '.__('previous', true), array(),
> null, array('class'=>'disabled'));?>
>  |      <?php echo $paginator->numbers();?>
>  |      <?php echo $paginator->next(__('next', true).' &#187;', 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to