Fixed bad f-string (#476)

This commit is contained in:
Mahesh0253 2020-08-26 23:16:19 +05:30 committed by GitHub
parent 7719c49062
commit eed3221ecb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}>"