[web2py] Re: XML(sanitize=True) and incorrect HTML

2016-06-18 Thread Massimo Di Pierro
thanks for reporting this. On Wednesday, 15 June 2016 02:29:53 UTC-5, Kirill Shatalaev wrote: > > Opened #1363 > > вторник, 14 июня 2016 г., 22:25:05 UTC+4 пользователь Anthony написал: >> >> >> Feel free to file a Github issue. >> >> Anthony >> >> -- Resources: - http://web2py.com -

[web2py] Re: XML(sanitize=True) and incorrect HTML

2016-06-15 Thread Kirill Shatalaev
Opened #1363 вторник, 14 июня 2016 г., 22:25:05 UTC+4 пользователь Anthony написал: > > > Feel free to file a Github issue. > > Anthony > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: XML(sanitize=True) and incorrect HTML

2016-06-14 Thread Anthony
In gluon.sanitizer.XssCleaner: def handle_endtag(self, tag): bracketed = '' % tag self.in_disallowed.pop() if tag not in self.permitted_tags: if (not self.strip_disallowed): self.result += xssescape(bracketed) elif tag in