Last active
October 9, 2016 20:48
-
-
Save alebaffa/35267e8d83a380d4ec071faf95cc356c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String text = "Hello"; | |
ReaderFactory readerFactory = new StringReaderFactory(text); | |
HtmlTextConverter converter = new HtmlTextConverter(readerFactory); | |
assertThat(converter.convertToHtml(), is("Hello<br />")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment