Explorar el Código

ol/ul/li investigations and comments

Ivan Asmer hace 2 años
padre
commit
512b461c61
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      index.mjs

+ 1 - 0
index.mjs

@@ -591,6 +591,7 @@ function buildAST(md, mdTags=syntax, offset=0, tree={tag: 'root'}, stack=[]){
 
             const newNode = {tag: childName, startOffset: offset, parent: currentNode, startMatch: currentNode.startMatch}
             children.push(newNode) //create LI and add it into children of ol/ul
+            //
 
             newNode.children = buildAST(listMD, mdTags).children
             newNode.children.forEach(item => ((typeof item === 'object') &&  (item.parent = currentNode)))