fix: add padding newlines to activity map iframe HTML for improved formatting
This commit is contained in:
@@ -888,7 +888,7 @@ def register(mcp: FastMCP, strava: StravaClient) -> None:
|
||||
import base64
|
||||
|
||||
b64_html = base64.b64encode(html_content.encode("utf-8")).decode("utf-8")
|
||||
iframe_tag = f'<iframe src="data:text/html;base64,{b64_html}" style="width: 100%; height: 600px; border: none; border-radius: 12px;"></iframe>'
|
||||
iframe_tag = f'\n\n<iframe src="data:text/html;base64,{b64_html}" style="width: 100%; height: 600px; border: none; border-radius: 12px;"></iframe>\n\n'
|
||||
|
||||
resource_uri = f"strava://activity/{activity_id}/map"
|
||||
return CallToolResult(
|
||||
|
||||
Reference in New Issue
Block a user