Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 949b17f

Browse filesBrowse files
firedfoxevanlucas
authored andcommitted
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 <me@silverwind.io>
1 parent 8e790b7 commit 949b17f
Copy full SHA for 949b17f

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎tools/doc/html.js‎

Copy file name to clipboardExpand all lines: tools/doc/html.js
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.