Look at the RICHTEXT_FILTERS setting:

http://mezzanine.jupo.org/docs/configuration.html#richtext-filters

You'll need to add to that your own function that renders template code
into HTML - the Django docs have plenty of examples.


On Thu, Jul 31, 2014 at 2:21 AM, Radek Svarz <[email protected]> wrote:

> Hi,
>
> we are trying to give the content managers the option of using tags in the
> Richtext content.
>
> We thought about the workaround of using non-safe option in the settings
> and allowing to add scripts (e.g. from Freshdesk).
>
> The script works fine, however we also want to render the {{user.email}}
> tag, which is entered in the Rixhtext HTML editor.
>
> The tag is not rendered so far. How to allow that?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Stephen McDonald
http://jupo.org

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to