When you echo the value in your template do an html_entity_decode on the
string:

http://php.net/manual/en/function.html-entity-decode.php

On Mon, Aug 16, 2010 at 12:33 AM, Reo <rweil...@gmail.com> wrote:

> Hi,
>
> I was wondering if it is possible to put some HTML tags in YAML files.
>
> Exemple:
>  job:
>    title: my job
>    description: Cooker, i can find more information at : <a
> href="a_website.com">my_website.com</a>.
>
> (Here, title and description are both string type).
>
> When i'm doing that, i get the full description with tags as well, no
> real link is made.
>
> Thanks for futur answers.
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>



-- 
Gareth McCumskey
http://garethmccumskey.blogspot.com
twitter: @garethmcc

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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

Reply via email to