Formatting issue #78
Comments
@vijaykd I've just now bumped in to the same issue, but it's not the fault of this library. In the new version of Html.fromHtml (which this library uses) they also included the ul en li tag, but as you can see it doesn't look good at all. No clue how to fix this issue though, still working on it myself |
You can fix it by replacing the tag labels with your own strings before passing it into Html.fromHtml() like so:
Then those tags will not be recognized by the default tag handler and will be passed to this library's tag handler. You then have to edit this library's HtmlTagHandler and replace all the instances where it tries to match the tags "ol", "ul', "li" with your corresponding overridden string. |
@xGary this is an awesome idea for a fix! Can you make a pull request that in-cooperates this into the library? I would definitely merge this. |
@dschuermann Done #79 |
release in 3.1 |
Hi,
This is really great library. Thanks for making it.
I have formatting issue when showing my HTML.
HTML line has:
The formatting is not that great: Any idea on why?
Screen shot above is from Nexus 5X.
The code used:
I am not in a situation to use the web view hence I was looking for textFieldHTML solution.
Can you let me know what could be wrong?
The text was updated successfully, but these errors were encountered: