[Dot] fails to parse backslash in the end of label text
Ported Issue from Mantis Original ID: 2524 Reported By: skvadrik
SEVERITY: IMPORTANT Submitted: 2015-03-05 23:05:19
OS: LINUX
OS BUILD: 3.19.0-GENTOO
PLATFORM: X86_64
DESCRIPTION
Consider the following input (1.dot):
digraph g {
1 -> 2 [label="\\"]
}
I expect single backslash as a label.
STEPS TO REPRODUCE
See file 1.dot in attach. Got an error:
$ dot -Tpng -o1.png 1.dot $ Warning: 1.dot: syntax error in line 2 near ''
ADDITIONAL INFORMATION
Reproduced with graphviz-2.39.20150305.0545 (also 2.38 and 2.36), 2.26 worked fine.
Is there another way to draw trailing backslashes (preferably portable between graphviz versions) ?
Edited by Matthew Fernandez