We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd9d556 commit 6f1ab11Copy full SHA for 6f1ab11
1 file changed
src/dom/parser.ts
@@ -116,7 +116,7 @@ export const readToken = (): TokenType => {
116
: // Returning <div><br/></div> is necessary to anchor selection
117
TOKEN_ANCHORABLE);
118
} else if (isHiddenNode(node)) {
119
- return TOKEN_HIDDEN;
+ return (_token = TOKEN_HIDDEN);
120
} else if (config!._isVoid(node)) {
121
return (_token = TOKEN_VOID);
122
} else if (config!._isBlock(node)) {
0 commit comments