Removed: old implementation of cleanXSS method for Template