mgansler / mscgen

Automatically exported from code.google.com/p/mscgen
GNU General Public License v2.0
1 stars 0 forks source link

Label string containing \\n does not escape properly #66

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1.  Use the following diagram source.     

    HOST <- SLAVE [label = "OK\\n"];

2.  Use the following command to generate diagram.
    $ mscgen -T png -i console1.mscgen.txt -o console1.mscgen.txt.png

3.  The diagram shows the text above the arrow:   OK\

What is the expected output? What do you see instead?

The expected result is the diagram should show the text above the arrow:   OK\n

What version of mscgen are you using? On what operating system?

0.20 on WinXP+mingw/msys
from windows installer

Please provide any additional information below, including sample input
file:

If the following is used instead,
   HOST <- SLAVE [label = "OK\\ n"];
then the diagram shows the text above the arrow as expected:  OK\\ n

If the following is used instead,
   HOST <- SLAVE [label = "OK\ n"];
then the diagram shows the text above the arrow as expected:  OK\ n

Original issue reported on code.google.com by jncline@gmail.com on 12 Oct 2011 at 5:10

GoogleCodeExporter commented 8 years ago
Should be an easy fix.

Original comment by Michael....@gmail.com on 13 Oct 2011 at 8:33

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r198.

Original comment by Michael....@gmail.com on 22 Jul 2012 at 9:31