strikethrough

This commit is contained in:
git-bruh 2021-01-21 13:34:42 +05:30
parent 7c0d9da36c
commit 3dcc56c3a2
No known key found for this signature in database
GPG key ID: E1475C50075ADCE6

View file

@ -117,7 +117,9 @@ class MatrixClient(nio.AsyncClient):
# Code blocks
("```", "<pre><code>", "</code></pre>"),
# Spoilers
("||", "<span data-mx-spoiler>", "</span>")
("||", "<span data-mx-spoiler>", "</span>"),
# Strikethrough
("~~", "<del>", "</del>")
]
for replace in replace_: