@Test
public void testBr_CrLfOnly() {

    assertThat(Functions.br("\r\n"), is("<br />"));
    assertThat(Functions.br("a\r\n"), is("a<br />"));
    assertThat(Functions.br("\r\na"), is("<br />a"));
    assertThat(Functions.br("\r\n\r\n"), is("<br /><br />"));
    assertThat(Functions.br("<br />\r\n\r\n<br />"), is(
            "<br /><br /><br /><br />"));
}