Add support for custom tail truncation strings.