Created
November 18, 2018 09:38
-
-
Save davidbilik/75c2d30c66a52dd0f3bc9ba4fbac48b3 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
Html.fromHtml(html, null, | |
Html.TagHandler { opening, tag, output, xmlReader -> | |
if (tag == "ul" && !opening) output.append("\n") | |
if (tag == "li" && opening) output.append("\n\t• ") | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment