Skip to content

Commit

Permalink
Merge pull request ethereum#14156 from kuzdogan/patch-3
Browse files Browse the repository at this point in the history
Fix Remix links by adding `#` before URL params
  • Loading branch information
ekpyron authored Apr 26, 2023
2 parents 14c25c3 + 3bcdc7b commit 302d46c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ext/remix_code_links.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 302d46c

Please sign in to comment.