Skip to content

Commit

Permalink
Merge pull request #17 from tilde-nlp/fix/syntax_errors
Browse files Browse the repository at this point in the history
Fix syntax errors
  • Loading branch information
gunpuz authored Nov 23, 2023
2 parents 9972dbc + 442e824 commit 1c5dcb9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/js/lib/DOMTranslation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1054,9 +1054,9 @@ class DOMTranslation {
private addUserElementToCollection (collection: Set<HTMLElement>, 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
Expand Down

0 comments on commit 1c5dcb9

Please sign in to comment.