code: function parsePart () {
      chars = true;
      parseTag();
  
      var same = html === last;
      last = html;
  
      if (same) { // discard, because it's invalid
        html = '';
      }
    }
docs: clean up any remaining tags