def setup(self): single_tags = ['input', 'img'] self.renderer = Renderer(strict_mode=False, single_tags=single_tags)