<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;


    private static final int UNDEFINED_POSITION = -1;
    int strikePos = UNDEFINED_POSITION;

    public void handleTag(boolean opening, String tag, Editable output,
            XMLReader xmlReader) {
        if (tag.equalsIgnoreCase("strike") || tag.equals("s")) {
            handleStrike(opening, output);
        }
    }

                          final XMLReader xmlReader) {
        if ("strike".equalsIgnoreCase(tag) || "s".equals(tag)) {
            handleStrike(opening, output);
        } else if ("table".equalsIgnoreCase(tag)) {
            handleProblematic();
        } else if ("td".equalsIgnoreCase(tag) || "th".equalsIgnoreCase(tag)) {
            handleTd(opening, output);
        } else if ("tr".equalsIgnoreCase(tag)) {
            }
        }
    }
}
        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 handleTr(final boolean opening, final Editable output) {
        // insert new line for each table row
        if (opening) {
            output.append('\n');
            countCells = 0;
        }
    }

    // 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 void handleOl(final boolean opening) {
        if (opening) {
            listIndex = 1;
            listType = ListType.Ordered;
        } else {
            listType = ListType.Unordered;
        }
    }

    private void handleDT(final boolean opening, final Editable output) {
        output.append(opening ? "\n>> " : "");
    }

    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 remote branch 'campbeb/fix965'
<DFF> @@ -11,11 +11,18 @@ public class UnknownTagsHandler implements TagHandler {
 
     private static final int UNDEFINED_POSITION = -1;
     int strikePos = UNDEFINED_POSITION;
+    private boolean tableDetected = false;
 
     public void handleTag(boolean opening, String tag, Editable output,
             XMLReader xmlReader) {
         if (tag.equalsIgnoreCase("strike") || tag.equals("s")) {
             handleStrike(opening, output);
+        } else if (tag.equalsIgnoreCase("table")) {
+            handleTable();
+        } else if (tag.equalsIgnoreCase("td")) {
+            handleTd(opening, output);
+        } else if (tag.equalsIgnoreCase("tr")) {
+            handleTr(opening, output);
         }
     }
 
@@ -30,4 +37,27 @@ public class UnknownTagsHandler implements TagHandler {
             }
         }
     }
+
+    public boolean isTableDetected() {
+        return tableDetected;
+    }
+
+    private void handleTable() {
+        tableDetected = true;
+    }
+
+    private static void handleTd(boolean opening, Editable output) {
+        // insert space for each table column
+        if (opening) {
+            output.insert(output.length(), " ");
+        }
+    }
+
+    private static void handleTr(boolean opening, Editable output) {
+        // insert new line for each table row
+        if (opening) {
+            output.insert(output.length(), "\n");
+        }
+    }
+
 }

Merge remote branch 'campbeb/fix965'