Perhaps this?

from gluon.template import render

def index():
    return render(filename=viewfilename,context={},delimiters=('<
%','%>'))

On Jan 7, 2:58 am, hcvst <[email protected]> wrote:
> Hi,
>
> I'm using a jQuery template plugin that also uses '{{' and '}}' as
> markers.  I need to output something like <img src="{{url}}" /> in the
> rendered HTML. I'm now using this but is there a better way?
>
> {{=XML(u'<img src="{{url\u007D\u007D" />')}}
>
> Thanks,
> HC

Reply via email to