(text: &str)
| 410 | } |
| 411 | |
| 412 | fn one_line(text: &str) -> String { |
| 413 | text.chars() |
| 414 | .map(|c| if c.is_control() { ' ' } else { c }) |
| 415 | .collect() |
| 416 | } |
| 417 | |
| 418 | fn escape_html(text: &str) -> String { |
| 419 | text.replace('&', "&") |
no test coverage detected