diff --git a/lib/helpers.js b/lib/helpers.js index e722b63..5a6def6 100644 --- a/lib/helpers.js +++ b/lib/helpers.js @@ -74,10 +74,6 @@ function isEmptyText(node) { return emptyOrStatement; } -function isNotEmptyText(node) { - return node.type === 'TextNode' && !node.chars.match(/^\s*$/); -} - const allowedTextElements = ['i', 'em', 'b', 'strong', 'bold', 'span', 'a', 'code', 'br']; function isText(node) {