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: #5943Fixes: #5942 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Robert Lindstädt <robert.lindstaedt@gmail.com>
1 parent 77bed26 commit cb676cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tools/doc/json.js‎

Lines 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
vartype=tok.type;
185185
if(type==='space')return;
186-
if(type==='list_item_start'){
186+
if(type==='list_item_start'||type==='loose_item_start'){
187187
varn={};
188188
if(!current){
189189
values.push(n);

0 commit comments

Comments
 (0)