Skip to content

Commit

Permalink
Fix unterminated <li> tags in Phobos navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberShadow committed Oct 27, 2015
1 parent ac4bed0 commit d30fcb7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions chm-nav.dd
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ NBSP=
LATEST=
MENU={"t":"$2","a":"$1"},
MENU_W_SUBMENU=[{"t":"$2"},
MENU_W_SUBMENU_END=
ITEMIZE=$(ITEMS_HELPER $1, $+)],
ITEMS_HELPER = $1$(ITEMS_HELPER $+)
SUBMENU=$(SUBMENU2 $1,$+)],
Expand Down
1 change: 1 addition & 0 deletions dlang.org.ddoc
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ MDASH=$(T nobr, &#x200A;&mdash;&#x200A;)
METACODE=$(SPANC metacode, $0)
MENU = <li><a href='$1'><span>$+</span></a></li>
MENU_W_SUBMENU = <li class='has-sub'><a href='#'><span>$0</span></a>
MENU_W_SUBMENU_END = </li>
META_KEYWORDS=D programming language
META_DESCRIPTION=D Programming Language
MODDEFFILE=$(TC pre, moddeffile notranslate, $0)
Expand Down
2 changes: 2 additions & 0 deletions modlist.d
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@ struct Tree

void dumpRoot()
{
writeln();
writefln("$(MENU_W_SUBMENU $(TT %s))", name);
writefln("$(ITEMIZE");
dumpChildren([name]);
writeln(")");
writeln("$(MENU_W_SUBMENU_END)");
}

void dumpChildren(string[] pkgs)
Expand Down

0 comments on commit d30fcb7

Please sign in to comment.