static new ThreadLocal ai_html_shortenTextForDisplay_length; static S ai_html_shortenTextForDisplay(S s) { Int max = ai_html_shortenTextForDisplay_length!; ret max == null ? s : shorten(s, max); }