diff --git a/src/js/lib/DOMTranslation.ts b/src/js/lib/DOMTranslation.ts index 961c389..8f2e25a 100644 --- a/src/js/lib/DOMTranslation.ts +++ b/src/js/lib/DOMTranslation.ts @@ -1054,9 +1054,9 @@ class DOMTranslation { private addUserElementToCollection (collection: Set, element) { if ( element.nodeType === Node.ELEMENT_NODE && ( - element.nodeName === TILDE_MT_RAW_TEXT_NODE_TAG || - element.nodeName === TILDE_MT_TEXT_MARKER_START_TAG || - element.nodeName === TILDE_MT_TEXT_MARKER_END_TAG + element.nodeName === RAW_TEXT_NODE_WRAPPER_TAG || + element.nodeName === TEXT_MARKER_START_TAG || + element.nodeName === TEXT_MARKER_END_TAG ) ) { return