Skip to content

Commit eed3221

Browse files
authored
Fixed bad f-string (pyrogram#476)
1 parent 7719c49 commit eed3221

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyrogram/parser/html.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def unparse(text: str, entities: list):
155155

156156
if entity_type in ("bold", "italic", "underline", "strike"):
157157
start_tag = f"<{entity_type[0]}>"
158-
end_tag = "f</{entity_type[0]}>"
158+
end_tag = f"</{entity_type[0]}>"
159159
elif entity_type in ("code", "pre", "blockquote"):
160160
start_tag = f"<{entity_type}>"
161161
end_tag = f"</{entity_type}>"

0 commit comments

Comments
 (0)