Set explicit inline display

Found an bug when dealing with text sitting next to a floated div: My text sits to the right of a float:left div and when it is expanded and truncated more than once there is a large amount of white space the appears. This is probably due to the nature of separating the truncated text from the original text in spans and then setting display:inline-block