On Aug 26, 2011, at 14:03, Prabha vathi wrote:

> http://www.quotesoftheday.co.in/famous-quotes/360/true-love-always-makes-a-man-better-no-matter-what-woman-inspires-it
> You can find it here. Please check the author name. Why it is displaying like 
> that?
> If you are not able to load the link, This is the problem
> 
> Instead of displaying the proper text, it is displaying the entity of that 
> text in link
> 
> <?php echo $html->link(
>                     $author['name'], array(
>                         'controller' => 'auts',
>                         'action' => 'authors',
>                         'name' => $author['name']
>                     ),
>                     array('title' => $author['name'])
>                 );
>                 ?>
> When i try to add escape => false i lose the link and it displays the correct 
> name

Sounds like something before this code is already escaping it. Perhaps it's 
even already escaped in the database (and it shouldn't be).


-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to