Fix escaping issue

This commit is contained in:
2026-04-23 17:43:41 +02:00
parent 5ced96b918
commit 251aa037d9
+3
View File
@@ -2441,6 +2441,9 @@ loadGraph();
</html>""" </html>"""
GRAPH_HTML = GRAPH_HTML.replace('{{', '{').replace('}}', '}')
@app.get("/graph", response_class=HTMLResponse) @app.get("/graph", response_class=HTMLResponse)
async def graph_explorer() -> str: async def graph_explorer() -> str:
return GRAPH_HTML return GRAPH_HTML