pub fn bounded(text: &str) -> String
Truncate at a character boundary so no attribute exceeds the limit.