I have a workaround for you. It may be safest to let Cake do its thing
and use one of the following functions that one time when you really
want to preserve html-characters.

htmlspecialchars_decode()
html_entity_decode()

/Martin


On Apr 21, 7:07 am, zenofshen <[EMAIL PROTECTED]> wrote:
> Hello all. I've been searching around for a while but can't find an
> answer for the following problem.
>
> I want to save the characters '<' and '>' into the database but I
> believe cake's automatic parsing is converting the html entities to
> &lt; and &gt; Is there an option to disable cake's automatic escaping
> on model saves or a way to work around this?
>
> Thanks a lot!
--~--~---------~--~----~------------~-------~--~----~
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