Skip to content

Commit 428d7d7

Browse files
committed
Emeritus is the last bullet list
Ignore additional lists "in the middle"
1 parent f5988c3 commit 428d7d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/md2html/md2html.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ function doMaintainers() {
118118
let t = $(this).text().split('@')[0];
119119
maintainers.push({name:t});
120120
});
121-
u = $('ul').eq(1);
121+
if ($("ul").length < 2) return;
122+
u = $("ul").last();
122123
$(u).children('li').each(function(e){
123124
let t = $(this).text().split('@')[0];
124125
emeritus.push({name:t});

0 commit comments

Comments
 (0)