techee commented on this pull request.
while (1) { nl = nestingLevelsGetCurrent(nestingLevels); - if (nl && nl->type >= kind) + e = getEntryOfNestingLevel (nl); + if ((nl && (e == NULL)) || (e && (e->kind - AsciidocKinds) >= kind))
Because it can be set to CORK_NIL in makeAsciidocTag() when vStringLength (name) == 0.