mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8351555: Help section added in JDK-8350638 uses invalid HTML
Reviewed-by: liach, jjg
This commit is contained in:
parent
8450ae902e
commit
7999091e3e
@ -177,7 +177,7 @@ public class HelpWriter extends HtmlDocletWriter {
|
||||
// Keyboard Navigation
|
||||
section = newHelpSection(contents.getContent("doclet.help.keyboard_navigation.title"),
|
||||
HtmlIds.HELP_KEYBOARD_NAVIGATION);
|
||||
var keyboardPara = HtmlTree.P(contents.getContent("doclet.help.keyboard_navigation.intro"));
|
||||
section.add(HtmlTree.P(contents.getContent("doclet.help.keyboard_navigation.intro")));
|
||||
var keyboardList = HtmlTree.UL();
|
||||
if (options.createIndex()) {
|
||||
keyboardList.add(HtmlTree.LI(contents.getContent("doclet.help.keyboard_navigation.index",
|
||||
@ -192,7 +192,7 @@ public class HelpWriter extends HtmlDocletWriter {
|
||||
HtmlTree.KBD(Entity.of("uparrow")))));
|
||||
keyboardList.add(HtmlTree.LI(contents.getContent("doclet.help.keyboard_navigation.tabs",
|
||||
HtmlTree.KBD(Entity.of("leftarrow")), HtmlTree.KBD(Entity.of("rightarrow")))));
|
||||
navSection.add(section.add(keyboardPara.add(keyboardList)));
|
||||
navSection.add(section.add(keyboardList));
|
||||
|
||||
tableOfContents.popNestedList();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user