Open lhn1703 opened 2 years ago
Yes, it is same issue. Changing the first 2 html lines to previous version seemed easier than applying the other workaround, though it would be preferrable to be fixed on pyvis's end.
Hi fellow community members, I have came up with a solution that is more secured and recommended method by visjs officially. Please see the code gist I posted here: https://gist.github.com/yllowcool/1d21a38a02595b88f99547b98d92411f
Hope it helps 😀
@yllowcool Title Mouse hover still appears as raw HTML for me
Issue: title mouse hover text appears as raw html New pyvis html graph file generated ()
Old working pyvis html graph file
change:
It appears that rerunning pyvis generates new stylesheet and script links that breaks the feature. The hacky solution is to directly replace the new versions of these links in the generated html file to the previous working version.