You can change the web2py delimiters as mentioned here
-> http://web2py.com/books/default/chapter/29/05/the-views#The-views
in db.py add:
response.delimiters = ("[[", "]]")
to use [[ and ]]
On Thursday, December 16, 2021 at 2:10:13 AM UTC-6 [email protected]
wrote:
> Hello,
>
> I have a view which contains "normal" placeholders like {{=myvariable}}.
>
> My problem is that the view must sometimes includes double curly
> brackets, {{ and }}, that are to be ignored by the web2py view renderer.
> So how to escape them? What is the mean to have both "normal" and escaped
> double curly brackets in my view?
>
> PS: The "{{ }}"" are used by some expressions in the "simile exhibit
> <http://www.simile-widgets.org/exhibit3/>" framework, that I used with
> web2py, hence my need.
>
> Thanks
> Vincent
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/web2py/0fd21d83-e34c-42d9-ae0f-1aa57cbbcf73n%40googlegroups.com.