Skip to content

Commit cbd463a

Browse files
authored
Merge pull request #7 from icelam/disable-auto-links
fix(markdown): disable auto links when converting to markdown
2 parents bb9259a + 70029d3 commit cbd463a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/utils/markdown.py

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def generate(html, **options):
6363

6464
result = TelegramMarkdownConverter(
6565
**options,
66+
autolinks=False,
6667
convert=['br', 'p', 'img', 'code', 'pre', 'ul', 'ol', 'li', 'a', 'sup', 'sub', 'style'],
6768
bullets='•••'
6869
).convert(html).strip()

0 commit comments

Comments
 (0)