We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
normalize_uri
1 parent ecb8727 commit 2bde191Copy full SHA for 2bde191
markdown_it/common/normalize_url.py
@@ -54,7 +54,7 @@ def unescape_string(s: str) -> str:
54
55
56
def normalize_uri(uri: str) -> str:
57
- return quote(uri.encode("utf-8"), safe=str("/@:+?=&()%#*,"))
+ return quote(uri, safe="/@:+?=&()%#*,")
58
59
60
##################
0 commit comments