diff --git a/src/parser/model/ParserHtml.js b/src/parser/model/ParserHtml.js
index c07ba3b4b..0f56df1f5 100644
--- a/src/parser/model/ParserHtml.js
+++ b/src/parser/model/ParserHtml.js
@@ -153,7 +153,7 @@ module.exports = config => {
}
// Throw away empty nodes (keep spaces)
- if (config.removeEmptyTextNodes !== false) {
+ if (config.removeEmptyTextNodes) {
const content = node.nodeValue;
if (content != ' ' && !content.trim()) {
continue;