You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
html.A(
html.Button("Download as HTML"),
id="download",
href="data:text/html;base64,"+encoded,
download="plotly_graph.html"
)
However, data: URLs are restricted in 2.15.0. We can wait until they're unrestricted, or, better off just changing this example to recommend using dcc.Download instead.
In: https://plotly.com/python/interactive-html-export/
we have an example which recommends:
However,
data:
URLs are restricted in 2.15.0. We can wait until they're unrestricted, or, better off just changing this example to recommend usingdcc.Download
instead.Originally reported in: https://community.plotly.com/t/dangerous-link-detected-when-running-dash-example/83356
The text was updated successfully, but these errors were encountered: