mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-02 07:15:23 +00:00
Fixed bad f-string (#476)
This commit is contained in:
@@ -155,7 +155,7 @@ class HTML:
|
||||
|
||||
if entity_type in ("bold", "italic", "underline", "strike"):
|
||||
start_tag = f"<{entity_type[0]}>"
|
||||
end_tag = "f</{entity_type[0]}>"
|
||||
end_tag = f"</{entity_type[0]}>"
|
||||
elif entity_type in ("code", "pre", "blockquote"):
|
||||
start_tag = f"<{entity_type}>"
|
||||
end_tag = f"</{entity_type}>"
|
||||
|
Reference in New Issue
Block a user