On 26/05/11 16:17, asdfg wrote:
> I've got a Textarea placeholder in my template that will be used to
> paste a YouTube iframe embed link into.
> Obviously I want this to be output in the template as raw HTML but as
> soon as I save the page in the admin, it converts the angle brackets
> into their character entity equivalents.
> I can't seem to find a way round this. Is there something I'm missing...?
Are you using something like TinyMCE or WYMEditor for the widget? Maybe
just try placeholder foo with TextArea to get plain text - youll need to
use fialedname|safe for the output in your template as well, to stop it
from being escaped.