html tags instead of md used

This commit is contained in:
pseusys
2023-02-26 13:39:01 +01:00
parent 6a3c175169
commit cf7fcd7c96

View File

@@ -151,6 +151,6 @@ class GitHubManager:
else:
DBM.i("Inlining chart...")
hint = "You can use [this website](https://codebeautify.org/base64-to-image-converter) to view the generated base64 image."
hint = 'You can use <a href="https://codebeautify.org/base64-to-image-converter">this website</a> to view the generated base64 image.'
encoded_image = f"data:image/png;base64,{b64encode(data).decode('utf-8')}"
return f"<details>\n <summary>{hint}</summary>\n ```\n {encoded_image}\n ```</details>\n"
return f"<details>\n <summary>{hint}</summary>\n <code>{encoded_image}</code>\n</details>\n"