Skip to content

Commit 7d0bf46

Browse files
authored
revert workaround example in README.rst for <script> and <style> now that it is properly fixed (#115)
Signed-off-by: chrispy <chrispy@synopsys.com>
1 parent 2f9a42d commit 7d0bf46

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

README.rst

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -173,22 +173,6 @@ change:
173173
def md(html, **options):
174174
return ImageBlockConverter(**options).convert(html)
175175
176-
.. code:: python
177-
178-
from markdownify import MarkdownConverter
179-
180-
class NoCssConverter(MarkdownConverter):
181-
"""
182-
Create a custom MarkdownConverter that removes the CSS code by ignoring the `style` tag
183-
"""
184-
def convert_style(self, el, text, convert_as_inline):
185-
return ''
186-
187-
# Create shorthand method for conversion
188-
def md(html, **options):
189-
return NoCssConverter(**options).convert(html)
190-
191-
192176
193177
Command Line Interface
194178
======================

0 commit comments

Comments
 (0)