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 cb676cf

Browse filesBrowse files
firedfoxevanlucas
authored andcommitted
tools: fix json doc generation
Current processList function in tools/doc/json.js does not recognise {"type":"loose_item_start"}. Fix it. PR-URL: #5943 Fixes: #5942 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Robert Lindstädt <robert.lindstaedt@gmail.com>
1 parent 77bed26 commit cb676cf
Copy full SHA for cb676cf

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/json.js‎

Copy file name to clipboardExpand all lines: tools/doc/json.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ function processList(section) {
183183
list.forEach(function(tok) {
184184
var type = tok.type;
185185
if (type === 'space') return;
186-
if (type === 'list_item_start') {
186+
if (type === 'list_item_start' || type === 'loose_item_start') {
187187
var n = {};
188188
if (!current) {
189189
values.push(n);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.