Friday, June 25, 2010

Re: Model Output as HTML

On Thu, Jun 24, 2010 at 1:48 PM, DragonFlyEye <dragonflyeye74@gmail.com> wrote:
> I'll bet this is obvious, but my Model data actually contains some
> HTML markup (I know, but you work with what you have) and that markup
> is being converted to entities before being displayed on the page. Is
> this something that CakePHP is doing? Is it happening in the Model or
> the Controller? How can I stop it.

Are you certain it's raw HTML? If you're viewing the data in, say,
MySQLAdmin, any entities might have been converted. If you can, have a
look at the data from a terminal or export a dump and look at it
there.

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: