mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
add ' back
This commit is contained in:
parent
14bf0cb7c8
commit
3a33088ed7
3
main.py
3
main.py
@ -1,4 +1,5 @@
|
||||
import requests
|
||||
import html
|
||||
|
||||
def define_env(env):
|
||||
"Hook function"
|
||||
@ -8,5 +9,5 @@ def define_env(env):
|
||||
r = requests.get(url = workflow_endpoint)
|
||||
workflow_json = r.content.decode("utf-8")
|
||||
print(workflow_json)
|
||||
return f"<div class='workflow_preview'><n8n-demo clicktointeract='true' frame='true' collapseformobile='false' workflow={workflow_json}></n8n-demo></div>"
|
||||
return f"<div class='workflow_preview'><n8n-demo clicktointeract='true' frame='true' collapseformobile='false' workflow='{workflow_json}'></n8n-demo></div>"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user