online log messages in timeline should be shortened using displayed chars limit
|Reported by:||Owned by:|
Oneliners in timeline view are shortened to 75 symbols string of raw HTML. If this HTML contains links (and probably other markup) then the displayed message in browser will be shorter by the amount of symbols markup tags take.
Is it possible to create shorten_line() alternatives called shorten_wiki_line() for unprocessed wiki markup and shorten_html_line() for html to adjust string length to specified amount of visible characters?
Below is a patch for render_timeline_event() function to take advantage of the bugfix if it becomes available.
If there was a function to strip all markup from the message then it could be used in cycle to determine how many tokens should wiki/html string include to fit.