Add truncated string length to be configurable

This commit is contained in:
iliajie
2022-07-09 21:14:05 +03:00
parent a951570ab9
commit 5200f5bc09

View File

@@ -1530,7 +1530,7 @@ return $noescape ? $rv : &html_escape($rv);
# Simplifies and truncates a subject header for display in the mail list
sub simplify_subject
{
return &convert_header_for_display($_[0], 320);
return &convert_header_for_display($_[0], int($in{'simplify-subject-length'}) || 320);
}
# quoted_decode(text)