Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b9682af

Browse files
firedfoxevanlucas
firedfox
authored andcommittedMar 30, 2016
doc: fix order of end tags of list after heading
Current html result of a list after heading is <div class="signature"><ul>...</div></ul>. Correct it to <div class="signature"><ul>...</ul></div>. PR-URL: #5874 Fixes: #5873 Reviewed-By: Roman Reiss <[email protected]>
1 parent 0da59ef commit b9682af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tools/doc/html.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,11 @@ function parseLists(input) {
159159
}
160160
if (tok.type === 'list_end') {
161161
depth--;
162+
output.push(tok);
162163
if (depth === 0) {
163164
state = null;
164165
output.push({ type:'html', text: '</div>' });
165166
}
166-
output.push(tok);
167167
return;
168168
}
169169
if (tok.text) {

0 commit comments

Comments
 (0)
Please sign in to comment.