pub fn safe_excerpt( content: &str, start: usize, span_len: usize, max_len: usize, ) -> String
安全截取片段(避免在字符中间切断)