lib/html2jsx.js
function (node) {
    var tagName = jsxTagName(node.tagName);
    // De-indent a bit
    // TODO: It's inefficient to do it this way :/
    this.output = trimEnd(this.output, this.config.indent);
    if (this._isSelfClosing(node)) {
      this.output += ' />';
    } else {
      this.output += '</' + tagName + '>';
    }

    if (tagName === 'pre') {
      this._inPreTag = false;
    }
  }
function (node) {
    var tagName = jsxTagName(node.tagName);
    // De-indent a bit
    // TODO: It's inefficient to do it this way :/
    this.output = trimEnd(this.output, this.config.indent);
    if (this._isSelfClosing(node)) {
      this.output += ' />';
    } else {
      this.output += '</' + tagName + '>';
    }

    if (tagName === 'pre') {
      this._inPreTag = false;
    }
  }
function ( node ) { var tagName = jsxTagName ( node . tagName ) ; // De-indent a bit // TODO: It's inefficient to do it this way :/ this . output = trimEnd ( this . output , this . config . indent ) ; if ( this . _isSelfClosing ( node ) ) { this . output += ' />' ; } else { this . output += '</' + tagName + '>' ; } if ( tagName === 'pre' ) { this . _inPreTag = false ; } }
Handles post-visit behaviour for the specified element node

@param {Node} node
Handles post - visit behaviour for the specified element node