Fix minor documentation issue regarding pre tags

This commit is contained in:
Lonami Exo 2019-05-09 14:13:43 +02:00
parent 7f88238d8f
commit fbce902cf8
2 changed files with 2 additions and 1 deletions

View File

@ -114,3 +114,4 @@ You can also use the menu on the left to quickly skip over sections.
modules/errors
modules/sessions
modules/network
modules/helpers

View File

@ -616,7 +616,7 @@ class MessageMethods(UploadMethods, ButtonMethods, MessageParseMethods):
client.send_message('me', 'Some <b>bold</b> and <i>italic</i> text')
client.send_message('me', 'An <a href="https://example.com">URL</a>')
client.send_message('me', '<code>code</code> and <pre>pre\nblocks</pre>')
# code and pre tags also work, but those break the documentation :)
client.send_message('me', '<a href="tg://user?id=me">Mentions</a>')
# Explicit parse mode