You cannot avoid escape URL when using helper (link() or url() methods). Output such links as plain HTML. Attribute 'escape' is for link title only.
On Apr 15, 6:57 pm, Henrik Gemal <[email protected]> wrote: > I'm using the MailtoHelper to encode a mailto address to avoid > spammers. > > the code is something like: > $mail = $html->link($m, $mailto->encode($m)); > > the problem is now that the mailto address is already encoded so I > dont want html->link to reencode (html entities) since this messes up > my mailto address. > > Is there a way to avoid having html->link to encode the url parameter? > > Looking at the source it doesn't seems like it --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
