Skip to content

Commit

Permalink
use pypandoc.convert_text method, fixes #492
Browse files Browse the repository at this point in the history
  • Loading branch information
xlucn authored Dec 23, 2024
1 parent 55d93d0 commit 8a7bf66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 21,7 @@
with open('README.md', 'r') as f:
txt = f.read()
txt = re.sub('<[^<] >', '', txt)
long_description = pypandoc.convert(txt, 'rst', 'md')
long_description = pypandoc.convert_text(txt, 'rst', 'md')
except ImportError:
long_description = open('README.md').read()

Expand Down

0 comments on commit 8a7bf66

Please sign in to comment.