def METHOD_NAME(self):
    """Test tag allowlisting + stripping out offending tags"""
    preprocessor = self.build_preprocessor()
    preprocessor.strip = True
    self.assertEqual(
        self.preprocess_source(
            "markdown", "_A_ <em>few</em> <script>tags</script>", preprocessor
        ),
        "_A_ <em>few</em> tags",
    )