<NME> UnknownTagsHandler.java
<BEF> package cgeo.geocaching.utils;

import cgeo.geocaching.CgeoApplication;
import cgeo.geocaching.R;

import android.text.Editable;
import android.text.Html.TagHandler;
import android.text.Spanned;
import android.text.style.StrikethroughSpan;

import org.xml.sax.XMLReader;

    private static int countCells = 0;
    int strikePos = UNDEFINED_POSITION;
    private boolean problematicDetected = false;

    @Override
    public void handleTag(boolean opening, String tag, Editable output,
    private int listIndex = 0;
    private ListType listType = ListType.Unordered;

    @Override
    public void handleTag(final boolean opening, final String tag, final Editable output,
                          final XMLReader xmlReader) {
        if ("strike".equalsIgnoreCase(tag) || "s".equals(tag)) {
            handleStrike(opening, output);
            handleTr(opening, output);
        } else if (tag.equalsIgnoreCase("pre")) {
            handleProblematic();
        }
    }

        } else if ("li".equalsIgnoreCase(tag)) {
            handleLi(opening, output);
        } else if ("dt".equalsIgnoreCase(tag)) {
            handleDT(opening, output);
        } else if ("dd".equalsIgnoreCase(tag)) {
            handleDD(output);
        } else if ("hr".equalsIgnoreCase(tag)) {
            handleHr(opening, output);
        }
    }

    private void handleStrike(final boolean opening, final Editable output) {
        final int length = output.length();
        if (opening) {
            strikePos = length;
        } else if (strikePos > UNDEFINED_POSITION) {
            output.setSpan(new StrikethroughSpan(), strikePos, length, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
            strikePos = UNDEFINED_POSITION;
        }
    }

    public boolean isProblematicDetected() {
        return problematicDetected;
    }

    private void handleProblematic() {
        problematicDetected = true;
    }

    private void handleTd(final boolean opening, final Editable output) {
        // insert bar for each table column, see https://en.wikipedia.org/wiki/Box-drawing_characters
        if (opening && countCells++ > 0) {
            output.append(CgeoApplication.getInstance().getString(R.string.triple_dash_vertical));
        }
        }
    }

}
    private void handleDD(final Editable output) {
        output.append("\n");
    }

    private void handleLi(final boolean opening, final Editable output) {
        if (opening) {
            if (listType == ListType.Ordered) {
                output.append("\n  ").append(String.valueOf(listIndex++)).append(". ");
            } else {
                output.append("\n  • ");
            }
        }
    }

    private static void handleHr(final boolean opening, final Editable output) {
        if (opening) {
            // If we are in the middle of a line, add a line feed.
            if (output.length() > 0 && output.charAt(output.length() - 1) != '\n') {
                output.append('\n');
            }
            final int start = output.length();
            output.append("                              ");
            output.setSpan(new StrikethroughSpan(), start, output.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
            output.append("\n");
        }
    }

}

<MSG> Merge pull request #1944 from campbeb/fix1896

Add handling for HTML lists - Fixes #1896
<DFF> @@ -13,6 +13,11 @@ public class UnknownTagsHandler implements TagHandler {
     private static int countCells = 0;
     int strikePos = UNDEFINED_POSITION;
     private boolean problematicDetected = false;
+    private enum ListType {
+        Ordered, Unordered
+    }
+    private static int listIndex = 0;
+    private static ListType listType;
 
     @Override
     public void handleTag(boolean opening, String tag, Editable output,
@@ -27,6 +32,10 @@ public class UnknownTagsHandler implements TagHandler {
             handleTr(opening, output);
         } else if (tag.equalsIgnoreCase("pre")) {
             handleProblematic();
+        } else if (tag.equalsIgnoreCase("ol")) {
+            handleOl(opening);
+        } else if (tag.equalsIgnoreCase("li")) {
+            handleLi(opening, output);
         }
     }
 
@@ -67,4 +76,25 @@ public class UnknownTagsHandler implements TagHandler {
         }
     }
 
+    // Ordered lists are handled in a simple manner. They are rendered as Arabic numbers starting at 1
+    // with no handling for alpha or Roman numbers or arbitrary numbering.
+    private static void handleOl(boolean opening) {
+        if (opening) {
+            listIndex = 1;
+            listType = ListType.Ordered;
+        } else {
+            listType = ListType.Unordered;
+        }
+    }
+
+    private static void handleLi(boolean opening, Editable output) {
+        if (opening) {
+            if (listType == ListType.Ordered) {
+                output.append("\n  " + (listIndex++) + ". ");
+            } else {
+                output.append("\n  • ");
+            }
+        }
+    }
+
 }

Merge pull request #1944 from campbeb/fix1896