n class="hl str">        }</span>
<span class="hl str">      }</span>
<span class="hl str">    };</span>
<span class="hl str"></span>
<span class="hl str">    Writer.prototype.tagText = function(node) {</span>
<span class="hl str">      var data, _ref1;</span>
<span class="hl str">      if (((_ref1 = node.firstChild) != null ? _ref1.nodeType : void 0) !== 3) {</span>
<span class="hl str">        return null;</span>
<span class="hl str">      } else if (node.firstChild !== node.lastChild) {</span>
<span clas