renderedtext/jquery.truncator.js — Issue #2: Adjustable max length
Author: markoa
Created: 2011-10-19 10:13:10+00:00
State: open

Steve rightfully says:

> BTW, I noticed that the max-length calculation using the magic number 3 is no longer accurate/relevant, but I left it unchanged because it affects the overall behaviour. It's not easy to calculate the character length of the customisable "more" link because the string might contain "→" entities or suchlike. It would therefore really be best to remove the adjustment to max-length, and instead rely on users to adjust max length according to the "more" text they have configured.