v0.9 Release – Fix for the Line Break bug
In my previous blog post I explained the line break bug and how I would go about fixing it. I’ve managed to get the functionality up and running now. Lets have a look at the code: // ellipsis for multi-line desc messages $(’.desc’).each(function (i) { if($(this).html().indexOf("n") != -1) { $(this).html($(this).html().replace(/n/g, " ")); $(this).html(createEllipsis($(this).html(), ($(this).attr("class")).match(/idd+/) + [...]