Index: java/org/chromium/distiller/webdocument/WebDocumentBuilder.java |
diff --git a/java/org/chromium/distiller/webdocument/WebDocumentBuilder.java b/java/org/chromium/distiller/webdocument/WebDocumentBuilder.java |
index 36d384f4390ad3ecd2cfe67aa8b508df85cfb953..0b1b329757f473c26b6deea9722e6d496f230add 100644 |
--- a/java/org/chromium/distiller/webdocument/WebDocumentBuilder.java |
+++ b/java/org/chromium/distiller/webdocument/WebDocumentBuilder.java |
@@ -60,6 +60,8 @@ public class WebDocumentBuilder implements WebDocumentBuilderInterface { |
if (a.isAnchor) { |
enterAnchor(); |
+ } else if (a.isList) { |
+ enterList(); |
} |
flush |= a.flush; |
@@ -80,6 +82,8 @@ public class WebDocumentBuilder implements WebDocumentBuilderInterface { |
if (a.isAnchor) { |
exitAnchor(); |
+ } else if (a.isList) { |
+ exitList(); |
} |
// Must be done after flushBlock() because the labels for the block come from the |
@@ -146,6 +150,14 @@ public class WebDocumentBuilder implements WebDocumentBuilderInterface { |
document.addText(tb); |
} |
+ public void enterList() { |
+ |
+ } |
+ |
+ public void exitList() { |
+ |
+ } |
+ |
/** |
* Returns a {@link WebDocument} containing the extracted {@link WebText} |
* s. NOTE: Only call this after parsing. |