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  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 28 - 1 = ?

 
 [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