Hello,

I have small problem when the characters "< and ">" are used in web2py
html template views. Using them for Python breaks the html:

{{="OK" if x < 0 else "bad"}}

Because these characters are not escaped in the code, the html file is
no longer well formed.

Using the html entities "&lt;" and "&gr;" does not solve the problem
because web2py gives an error when theses characters are used as
Python code in templates.

Is it possible to fix this to have well formed html for web2py
templates?

Reply via email to