{"issue":{"created_at":"2011-11-29T10:08:48Z","state":"open","updated_at":"2011-11-29T10:08:50Z","comments":1,"user":{"gravatar_id":"7ca7554b516e2f5476d823cc2eca706a","id":734684,"url":"https://api.github.com/users/LeoUnglaub","login":"LeoUnglaub","avatar_url":"https://secure.gravatar.com/avatar/7ca7554b516e2f5476d823cc2eca706a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Hi Leo,\nin the String class are two methods to shorten strings (substr and substrHtml). In the actual version the third parameter is a boolean to add the optional Ellipsis. But the Ellipsis is hardcored. Maybe it's possible to make this dynamic. I add you a patch file with a untested solution.\n\nGreetings\nLeo\n\n[Download the attachments](http://www.contao.org/tl_files/tickets/2700.zip \"Download the attachments of this ticket\")\n\n--- _Originally created on November 26th, 2010, at 09:31pm (ID 2700)_","assignee":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","login":"leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":2382489,"number":2700,"labels":[{"name":"Feature","color":"4183c4","url":"https://api.github.com/repos/contao/test/labels/Feature"},{"name":"framework","color":"e6e6e6","url":"https://api.github.com/repos/contao/test/labels/framework"}],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"adding support for a own Ellipsis string","closed_at":null,"html_url":"https://github.com/contao/test/issues/2700","url":"https://api.github.com/repos/contao/test/issues/2700","milestone":{"created_at":"2011-11-29T05:27:05Z","state":"open","due_on":null,"closed_issues":52,"creator":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","login":"leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"number":32,"description":"Contao 2.10.0 (minor release)","title":"2.10.0","open_issues":1,"url":"https://api.github.com/repos/contao/test/milestones/32"}},"action":"created","comment":{"created_at":"2011-11-29T10:08:50Z","updated_at":"2011-11-29T10:08:50Z","user":{"gravatar_id":"7ca7554b516e2f5476d823cc2eca706a","id":734684,"url":"https://api.github.com/users/LeoUnglaub","login":"LeoUnglaub","avatar_url":"https://secure.gravatar.com/avatar/7ca7554b516e2f5476d823cc2eca706a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"cool, thanks for accepting.\nGreetings\nLeo\n\n--- _Originally created on November 29th, 2010, at 05:20pm_","id":2926756,"url":"https://api.github.com/repos/contao/test/issues/comments/2926756"}}