Open GoogleCodeExporter opened 9 years ago
The concatenation of all titles seems easy to fix. In draw.js, line 355 reads
var name = $("title", child).text();
It should rather be only the first title, as in
var name = $("title:first", child).text();
Can somebody test and commit this fix?
Original comment by g...@hotmail.com
on 15 Jul 2013 at 10:41
On second thought, only use the first child, not the first descendant. ":first"
could also be omitted since the W3C spec recommends a max of one title per
element.
var name = $(child).children("title").text();
It seems that this issue is a duplicate of #885, and Carsten had the right
solution from the start.
Original comment by g...@hotmail.com
on 15 Jul 2013 at 8:27
Original issue reported on code.google.com by
dan...@citizencontact.com
on 12 Feb 2013 at 2:39