We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb69916 commit 3bd8039Copy full SHA for 3bd8039
docs/usage.rst
@@ -109,6 +109,11 @@ which content is removed:
109
</body>
110
</html>
111
112
+To control the removal of CSS styles, set the ``style`` and/or ``inline_style``
113
+keyword arguments to ``True`` when creating a ``Cleaner`` instance.
114
+If neither option is enabled, only ``@import`` rules are automatically removed
115
+from CSS content.
116
+
117
You can also whitelist some otherwise dangerous content with
118
``Cleaner(host_whitelist=['www.youtube.com'])``, which would allow
119
embedded media from YouTube, while still filtering out embedded media
0 commit comments