Differences From Artifact [a160c3e797]:
- File gluon/sanitizer.py — part of check-in [eba4a35a21] at 2011-08-08 04:53:38 on branch develop — Added web2py 1.98.2 (user: spiffy, size: 6689) [annotate] [blame] [check-ins using]
To Artifact [393e02e106]:
- File gluon/sanitizer.py — part of check-in [5e6e1e2c0a] at 2011-11-20 05:28:20 on branch feature/web2py_auth — Upgraded to web2py 1.99.2 (user: spiffy, size: 6691) [annotate] [blame] [check-ins using] [more...]
| ︙ | ︙ | |||
218 219 220 221 222 223 224 225 |
'blockquote': ['type'],
'td': ['colspan'],
},
escape=True):
if not isinstance(text, str): return str(text)
return XssCleaner(permitted_tags=permitted_tags,
allowed_attributes=allowed_attributes).strip(text, escape)
| > > | 218 219 220 221 222 223 224 225 226 227 |
'blockquote': ['type'],
'td': ['colspan'],
},
escape=True):
if not isinstance(text, str): return str(text)
return XssCleaner(permitted_tags=permitted_tags,
allowed_attributes=allowed_attributes).strip(text, escape)
|