(text: &str)
| 391 | } |
| 392 | |
| 393 | fn one_line(text: &str) -> String { |
| 394 | text.chars() |
| 395 | .map(|c| if c.is_control() { ' ' } else { c }) |
| 396 | .collect() |
| 397 | } |
| 398 | |
| 399 | fn escape_html(text: &str) -> String { |
| 400 | text.replace('&', "&") |
no test coverage detected