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
I've investigated the issue a bit. There are two separate challenges:
Escaping HTML entities. This might be a new option for draw.DOT and is a feature on its own.
Handling escaped double quotes (\") like in your example. The escaping backslash being removed is a bug, and it seems to happen when rendering the template: https://go.dev/play/p/DvuB5B8ywIV
I'll focus on the \" bug for now. Maybe the escaping backslash can be preserved somehow.
Using draw.DOT over a network with valid golang string nodes, generates invalid .gv files if any string contain some special characters
example:
Will generate
which will fail trying to use dot -Tsvg -O mygraph.gv since it has non escaped characters
I think a flag to optionaly escape html entities may be a good alternative
The text was updated successfully, but these errors were encountered: