From 0bb785132f0c8916c4ec7c8c69c56715d5b5a973 Mon Sep 17 00:00:00 2001 From: Jan Lahoda Date: Mon, 11 Nov 2024 08:21:20 +0100 Subject: [PATCH] Removing divs, as suggested --- .../javadoc/internal/doclets/formats/html/ModuleWriter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ModuleWriter.java b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ModuleWriter.java index cf50cb0a1bbe7..30de66b46a678 100644 --- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ModuleWriter.java +++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ModuleWriter.java @@ -601,8 +601,8 @@ protected void addPackagesSummary(Content summariesList) { addIndirectPackages(aepTable, filteredIndirectPackages); section.add(aepTable); //add the preview box: - section.add(HtmlTree.DIV(HtmlTree.BR())); - section.add(HtmlTree.DIV(HtmlTree.BR())); + section.add(HtmlTree.BR()); + section.add(HtmlTree.BR()); HtmlId previewRequiresTransitiveId = HtmlId.of("preview-requires-transitive-java.base"); var previewDiv = HtmlTree.DIV(HtmlStyles.previewBlock); previewDiv.setId(previewRequiresTransitiveId);