pub fn compress_block(text: &str) -> String
Collapse repeated blank lines while preserving paragraph breaks, and compress whitespace within each line.