@Test
public void testBr_LfOnly() {

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