2009年4月29日星期三

Re: [fw-mvc] How do I customize the escape() function for HTML rendering?

On 28 Apr 2009, at 19:25, bentobenji wrote:

>
> HTML grabbed from my mysql table was not rendering in the browser
> display,
> but was getting converted to ASCII. I'm pretty sure that escape()
> is the
> culprit, and Zend doesn't allow me to just grab a variable directly
> without
> it.


I don't quite understand. Zend_View doesn't enforce the use of the
escape() view helper at all.

Can you provided a code sample?

Regards,

Rob...

--
Rob Allen
Zend Framework Tutorial: http://akrabat.com/zft
Author of Zend Framework in Action: http://www.zendframeworkinaction.com

没有评论: