Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.3.0

Bug #19232 xlink:title carriage return char
Submitted: 2012-01-21 00:46 UTC
From: zknight Assigned:
Status: Open Package: Image_GraphViz (version 1.3.0)
PHP Version: 5.3.3 OS: linux
Roadmaps: (Not assigned)    
Subscription  


 [2012-01-21 00:46 UTC] zknight (claudio polcino)
Description: ------------ Hi I have node with label with a '\n' to wrap text on 2 rows. i.e.:""VEG10010E22-00\nA1A1 Equipped" and a URL attribute for the node. when I select the node, a label is coming up with '\n' characters. in the generated html i have: xlink:title="xlink:title="VEG10010E22-00\nA1A1 Equipped" so the generated xlink:title does not cut off the \n Test script: --------------- $graph->addNode($idmdoc, array('shape' => 'rectangle', 'label' => $idmdoc.'\n'.$title, 'URL' => 'doc_file_upload.php, 'target' => '_blank', 'width' => 3, 'labelURL' => 'asdfasdfasdfa'));

Comments