@Test
public void testBr_multi() {

    // \r -> \n -> \r\n
    assertThat(Functions.br("a\rb\nc\r\nd"), is("a<br />b<br />c<br />d"));
    // \n -> \r\n -> \r
    assertThat(Functions.br("a\nb\r\nc\rd"), is("a<br />b<br />c<br />d"));
    // \r\n -> \r -> \n
    assertThat(Functions.br("a\r\nb\rc\nd"), is("a<br />b<br />c<br />d"));
}