Hi guys,

I'm new to web2py and trying to learn some basics.

I started with a small test application and wrote a view for it. While 
experementing with some embedded python ( {{ tags) in my view I discovered 
that commenting out some HTML with <!-- --> did not escape the embedded 
python. Example: <!--{{extend 'layout.html'}}--> will present "-->" on the 
page in the layout.html theme.

This is not a problem, I'm just curious on why it works like this. An 
alternative would maybe be to ignore python that is embedded in <!-- --> 
tags?

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to