code: function (listTag) {
                  var
                      tag,
                      len = this._openedTags.length;
                  while (len) {
                      tag = this._openedTags.pop();
                      --len;
                      this._output("</" + tag + ">");
                      if ("li" === tag) {
                          break;
                      }
                  }
                  if (len) {
                      tag = this._openedTags[len - 1];
                      if (tag !== listTag) {
                          this._openedTags.pop();
                          this._output("</" + tag + ">");
                      } else {
                          return;
                      }
                  }
                  this._openTag(listTag);
              }
docs: Open (or concatenate) a list tag. This includes closing previous
  list item (if any)
  
  @param {String} listTag
  @private