Skip to content

Commit

Permalink
Remove unused isNotEmptyText
Browse files Browse the repository at this point in the history
  • Loading branch information
candunaj committed Nov 5, 2021
1 parent 7fe6126 commit 9155848
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9155848

Please sign in to comment.