Fix escaping issue
This commit is contained in:
@@ -2441,6 +2441,9 @@ loadGraph();
|
||||
</html>"""
|
||||
|
||||
|
||||
GRAPH_HTML = GRAPH_HTML.replace('{{', '{').replace('}}', '}')
|
||||
|
||||
|
||||
@app.get("/graph", response_class=HTMLResponse)
|
||||
async def graph_explorer() -> str:
|
||||
return GRAPH_HTML
|
||||
|
||||
Reference in New Issue
Block a user