diff --git a/markdownify/__init__.py b/markdownify/__init__.py index 2b5d145..47485f5 100644 --- a/markdownify/__init__.py +++ b/markdownify/__init__.py @@ -244,12 +244,6 @@ class MarkdownConverter(object): convert_em = abstract_inline_conversion(lambda self: self.options['strong_em_symbol']) - def convert_figcaption(self, el, text, convert_as_inline): - return "
%s
" % text - - def convert_figure(self, el, text, convert_as_inline): - return "
%s
" % text - convert_kbd = convert_code def convert_hn(self, n, el, text, convert_as_inline): diff --git a/tests/test_conversions.py b/tests/test_conversions.py index e741607..0a5fba8 100644 --- a/tests/test_conversions.py +++ b/tests/test_conversions.py @@ -39,10 +39,6 @@ def test_a_no_autolinks(): assert md('https://google.com', autolinks=False) == '[https://google.com](https://google.com)' -def test_a_containing_images(): - assert md('') == '[![](/path/to/img.jpg)](#)' - - def test_b(): assert md('Hello') == '**Hello**' @@ -89,10 +85,6 @@ def test_em(): inline_tests('em', '*') -def test_figure(): - assert md('
A
') == '
![](#)
A
' - - def test_h1(): assert md('

Hello

') == 'Hello\n=====\n\n'