diff --git a/src/serializers/html.js b/src/serializers/html.js index 77c69fecf..bd797deda 100644 --- a/src/serializers/html.js +++ b/src/serializers/html.js @@ -33,7 +33,7 @@ const TEXT_RULE = { } } - if (el.tagName == 'span' || el.nodeName == '#text') { + if (el.nodeName == '#text') { if (el.value && el.value.match(//)) return return {