pvdspek/jquery.autoellipsis — pull request #30 by knabar (2014-04-22 17:22:11+00:00)
Title: Only remove whitespace from end of text node

Given an element like

A B

the current code would remove the space before `B`.

This PR fixes the issue by only removing whitespace from the end of any text node.