function _removeLineBreakBeforeAndAfter(node) {
    var nextSibling     = _getNextSiblingThatIsNotBlank(node),
        previousSibling = _getPreviousSiblingThatIsNotBlank(node);

    if (nextSibling && _isLineBreak(nextSibling)) {
      nextSibling.parentNode.removeChild(nextSibling);
    }
    if (previousSibling && _isLineBreak(previousSibling)) {
      previousSibling.parentNode.removeChild(previousSibling);
    }
  }
function _removeLineBreakBeforeAndAfter(node) {
    var nextSibling     = _getNextSiblingThatIsNotBlank(node),
        previousSibling = _getPreviousSiblingThatIsNotBlank(node);

    if (nextSibling && _isLineBreak(nextSibling)) {
      nextSibling.parentNode.removeChild(nextSibling);
    }
    if (previousSibling && _isLineBreak(previousSibling)) {
      previousSibling.parentNode.removeChild(previousSibling);
    }
  }
function _removeLineBreakBeforeAndAfter ( node ) { var nextSibling = _getNextSiblingThatIsNotBlank ( node ) , previousSibling = _getPreviousSiblingThatIsNotBlank ( node ) ; if ( nextSibling && _isLineBreak ( nextSibling ) ) { nextSibling . parentNode . removeChild ( nextSibling ) ; } if ( previousSibling && _isLineBreak ( previousSibling ) ) { previousSibling . parentNode . removeChild ( previousSibling ) ; } }
Removes line breaks before and after the given node
Removes line breaks before and after the given node