def test3() -> None: result = text2html("a\n\nb") assert str(result) == "<p>a</p>\n<p>b</p>"
def test4() -> None: result = text2html("a\n<a>toto</a>") assert str(result) == "<p>a</p>\n<p><a>toto</a></p>"
def test1() -> None: result = text2html("a") assert result == "a"