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

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

Issue 1513143006: Add <pre> to nesting tags (Closed) Base URL: git@github.com:chromium/dom-distiller.git@master
Patch Set: add test Created 5 years 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
« no previous file with comments | « no previous file | javatests/org/chromium/distiller/ContentExtractorTest.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: java/org/chromium/distiller/webdocument/WebTag.java
diff --git a/java/org/chromium/distiller/webdocument/WebTag.java b/java/org/chromium/distiller/webdocument/WebTag.java
index 2e3182c960179c962d732c2e802a2ee3e0851198..a56111d60098bd500660bce670be4225f6f0adea 100644
--- a/java/org/chromium/distiller/webdocument/WebTag.java
+++ b/java/org/chromium/distiller/webdocument/WebTag.java
@@ -22,6 +22,7 @@ public class WebTag extends WebElement {
nestingTags.add("OL");
nestingTags.add("LI");
nestingTags.add("BLOCKQUOTE");
+ nestingTags.add("PRE");
}
public WebTag(String tagName, TagType tagType) {
« no previous file with comments | « no previous file | javatests/org/chromium/distiller/ContentExtractorTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698