From 3bcdc7bd9aaefe6edda51d475d209b951eb054df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kaan=20Uzdo=C4=9Fan?= Date: Wed, 26 Apr 2023 10:37:37 +0200 Subject: [PATCH] Fix Remix links by adding `#` before URL params --- docs/ext/remix_code_links.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ext/remix_code_links.py b/docs/ext/remix_code_links.py index 2fc15ddda..47c5a32a9 100644 --- a/docs/ext/remix_code_links.py +++ b/docs/ext/remix_code_links.py @@ -22,7 +22,7 @@ def remix_code_url(source_code, language, solidity_version): # NOTE: base64 encoded data may contain +, = and / characters. Remix seems to handle them just # fine without any escaping. base64_encoded_source = base64.b64encode(source_code.encode('utf-8')).decode('ascii') - return f"https://remix.ethereum.org/?language={language}&version={solidity_version}&code={base64_encoded_source}" + return f"https://remix.ethereum.org/?#language={language}&version={solidity_version}&code={base64_encoded_source}" def build_remix_link_node(url):