Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001713graphvizDotpublic2009-09-15 05:282011-04-28 04:03
ReporterJoerg Matz 
Assigned Togviz 
PrioritynormalSeverityminorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSx86-Windows-XPOS Version
Summary0001713: cmapx title does not convert linefeeds
Description



When using multiline label, the corresponding area title does not show linefeeds, but the character pair "\n" instead.



Example:



echo digraph test { a [label="line1\nline2", URL="http://www.graphviz.org" [^]];} | dot -Tcmapx



gives



<map id="test" name="test">
<area shape="poly" href="http://www.graphviz.org" [^] title="line1\nline2" alt="" coords="86,44 84,32 78,22 69,13 58,8 45,6 33,8 22,13 13,22 7,325,44 7,56 13,66 22,75 33,80 45,82 58,80 69,75 78,66 84,56"/>
</map>



where it should give
<map id="test" name="test">
<area shape="poly" href="http://www.graphviz.org" [^] title="line1 line2" alt="" coords="86,44 84,32 78,22 69,13 58,8 45,6 33,8 22,13 13,22 7,325,44 7,56 13,66 22,75 33,80 45,82 58,80 69,75 78,66 84,56"/>
</map>






The mapping \n -> insures a linefeed in the areas tooltips/baloon help.
Steps To Reproduce

digraph test { a [label="line1\nline2", URL="http://www.graphviz.org" [^]];}
Additional Information

[joerg.matz] Please remove the bug entry I submitted today. I've found a work around for this issue.

Using HTML / UTF8 encoded linefeeds ( ) instead of "\n" sequence, I can separate the lines in the graphic output as well as in the imagemap.

[erg] This should still be fixed.

TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID1767
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT*
VERSION     2.24
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => user1


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker