Remove commented code

This commit is contained in:
Yurii Motov 2026-01-06 06:18:53 +01:00
parent e076f651e7
commit 50dd09a7b2
1 changed files with 0 additions and 6 deletions

View File

@ -411,13 +411,7 @@ def _construct_html_link(
for attribute in attributes:
if attribute["name"] == "href":
original_url = attribute["value"]
url = _add_lang_code_to_url(original_url, lang_code)
# if original_url.startswith(TIANGOLO_COM):
# url = original_url.replace(TIANGOLO_COM, f"{TIANGOLO_COM}/{lang_code}")
# else:
# url = original_url
attributes_upd.append(
HTMLLinkAttribute(name="href", quote=attribute["quote"], value=url)
)