Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Unified Diff: java/org/chromium/distiller/webdocument/LIEnd.java

Issue 1230583006: Fix for keeping lists structure (Closed) Base URL: https://github.com/chromium/dom-distiller.git@master
Patch Set: Using a new approach to keep list structure. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: java/org/chromium/distiller/webdocument/LIEnd.java
diff --git a/java/org/chromium/distiller/webdocument/LIEnd.java b/java/org/chromium/distiller/webdocument/LIEnd.java
new file mode 100644
index 0000000000000000000000000000000000000000..fde207769ba97d99cb6021e472ebd6dd7c85bd1b
--- /dev/null
+++ b/java/org/chromium/distiller/webdocument/LIEnd.java
@@ -0,0 +1,12 @@
+package org.chromium.distiller.webdocument;
+
+public class LIEnd extends PlaceHolderEnd {
+
+ @Override
+ public String generateOutput(boolean textOnly) {
+ if (textOnly) {
+ return "";
+ }
+ return "</li>";
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698