--- a/src/js/widgets/segmentsWidget.js Fri Jan 20 12:20:51 2012 +0100
+++ b/src/js/widgets/segmentsWidget.js Fri Jan 20 12:21:07 2012 +0100
@@ -92,7 +92,7 @@
/* the last segment has no segment following it */
var pxWidth = endPixel - startPixel;
- var divTitle = (annotation.content.title + " - " + annotation.content.description).substr(0,55);
+ var divTitle = IriSP.clean_substr(annotation.content.title + " -<br>" + annotation.content.description, 0, 132) + "...";
if (typeof(annotation.content.color) !== "undefined")
var color = annotation.content.color;