dot2tex
dot2tex copied to clipboard
Escaping rules in dot strings are not respected
Hi,
The syntax of dot clearly makes \ special in strings, and therefore to mean a backslash in a string, one must escape it. However, dot2tex does not strip the double-backslashes, and actually processes the string as if it were a raw string (my issue is with d2tdocpreamble). So, for instance, we cannot embed a double-quote as ", since it is then really output as ", without the backslash stripped (included in labels).
Thanks!
I will look into this. The d2tprocpreamble attribute does not handle newlines properly either. See issue #23