kswedberg / jquery-expander

Expand and Collapse HTML content
https://kswedberg.github.io/jquery-expander/
Other
459 stars 167 forks source link

Trim end of summary so that we can use an ellipsis properly at the end #26

Closed fletom closed 12 years ago

fletom commented 12 years ago

(e.g. "summary ..." -> "summary...")

If you enter an ellipsis as your expandPrefix you probably want to come right after your word, in accordance with English grammar.

If you actually do want a space there, you can just use " … " with the space at the beginning as expandPrefix.