def render(self): x = '<textarea name="%s"' % net.websafe(self.name) x += self.addatts() x += '>' if self.value is not None: x += net.websafe(self.value) x += '</textarea>' return x