in src/htmltojsx.js [529:543]
_endVisitElement: 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;
}
},