Closed kriskoon closed 8 years ago
It looks like the html was removed from my post. That text string was in a div with class expandable and the jquery and expander scripts were included in the head section, along with:
$.expander.defaults.slicePoint = 10; $(document).ready(function() { $('div.expandable').expander({preserveWords: false}); });
in a script block.
sorry for the delay. I'll take a look this weekend.
fyi... I just edited your first comment so I could read it.
Sorry it took me so long. The fix is in, with a test to ensure it's working right.
I cannot get words to split when the preserveWords option is set to false. In the html below, the string of text inside the div should split after j, but, in fact, it does not split at all, even on the space.