From 9839126b7d05eb4b6966e77e0893fb09b445803f Mon Sep 17 00:00:00 2001 From: zentol Date: Tue, 12 Feb 2019 16:03:54 +0100 Subject: [PATCH] [FLINK-11584][docs][tests] Fix linebreak parsing --- .../docs/configuration/ConfigOptionsDocsCompletenessITCase.java | 1 + 1 file changed, 1 insertion(+) diff --git a/flink-docs/src/test/java/org/apache/flink/docs/configuration/ConfigOptionsDocsCompletenessITCase.java b/flink-docs/src/test/java/org/apache/flink/docs/configuration/ConfigOptionsDocsCompletenessITCase.java index 25ce3dca4d1b3..bfc55c1ebbdd1 100644 --- a/flink-docs/src/test/java/org/apache/flink/docs/configuration/ConfigOptionsDocsCompletenessITCase.java +++ b/flink-docs/src/test/java/org/apache/flink/docs/configuration/ConfigOptionsDocsCompletenessITCase.java @@ -171,6 +171,7 @@ private static Map parseDocumentedOptions() throws IOE private static Collection parseDocumentedOptionsFromFile(Path file) throws IOException { Document document = Jsoup.parse(file.toFile(), StandardCharsets.UTF_8.name()); + document.outputSettings().syntax(Document.OutputSettings.Syntax.xml); document.outputSettings().prettyPrint(false); return document.getElementsByTag("table").stream() .map(element -> element.getElementsByTag("tbody").get(0))