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
{{ message }}
Repository navigation
Commit 4b0825e
Browse filesBrowse the repository at this point in the historyBrowse files
fix(export): escape every "<" in JSON embedded in <script> blocks
An unclosed "<!--" followed by "<script" in the embedded data put the HTML
tokenizer in the "script data double escaped" state, so the real </script>
no longer closed the element and graph.html rendered blank. Escaping only
"</" left both sequences intact; escape "<" as < instead, which JSON
and JS decode back to "<".
Applies to graphify/exporters/html.py and graphify/tree_html.py.
callflow_html.py embeds no data in its <script> and is unaffected.
Fixes#4124.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments