diff --git a/README.rst b/README.rst index 4e93b92..4d21411 100644 --- a/README.rst +++ b/README.rst @@ -1,3 +1,21 @@ +|build| |version| |license| |downloads| + +.. |build| image:: https://img.shields.io/github/workflow/status/matthewwithanm/python-markdownify/Python%20application/develop + :alt: GitHub Workflow Status + :target: https://github.com/matthewwithanm/python-markdownify/actions?query=workflow%3A%22Python+application%22 + +.. |version| image:: https://img.shields.io/pypi/v/markdownify + :alt: Pypi version + :target: https://pypi.org/project/markdownify/ + +.. |license| image:: https://img.shields.io/pypi/l/markdownify + :alt: License + :target: https://github.com/matthewwithanm/python-markdownify/blob/develop/LICENSE + +.. |downloads| image:: https://pepy.tech/badge/markdownify + :alt: Pypi Downloads + :target: https://pepy.tech/project/markdownify + Installation ============ diff --git a/markdownify/__init__.py b/markdownify/__init__.py index 33d5b8f..2d5daf1 100644 --- a/markdownify/__init__.py +++ b/markdownify/__init__.py @@ -6,8 +6,6 @@ import six convert_heading_re = re.compile(r'convert_h(\d+)') line_beginning_re = re.compile(r'^', re.MULTILINE) whitespace_re = re.compile(r'[\r\n\s\t ]+') -FRAGMENT_ID = '__MARKDOWNIFY_WRAPPER__' -wrapped = '
') == ''
assert md('
') == ''
+
+
+def test_div():
+ assert md('Hello World') == 'Hello World'