Skip to content

Commit cb676cf

Browse 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 <[email protected]> Reviewed-By: Robert Lindstädt <[email protected]>
1 parent 77bed26 commit cb676cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/doc/json.js

+1-1
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)