Shorten displayed linked by default (#4951)

This commit is contained in:
Oliver 2023-06-02 14:27:15 +10:00 committed by GitHub
parent 2c3ba6e528
commit 812b256e08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -403,7 +403,7 @@ function renderLink(text, url, options={}) {
return text;
}
var max_length = options.max_length || 0;
var max_length = options.max_length || user_settings.TABLE_STRING_MAX_LENGTH || 100;
if (max_length > 0) {
text = shortenString(text, {