Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d09047a

Browse filesBrowse files
authored
fix: text token type in V_EXPRESSION_DATA state (#257)
1 parent 519d2ba commit d09047a
Copy full SHA for d09047a

File tree

5 files changed

+567
-2
lines changed
Filter options

5 files changed

+567
-2
lines changed

‎src/html/tokenizer.ts

Copy file name to clipboardExpand all lines: src/html/tokenizer.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1892,9 +1892,9 @@ export class Tokenizer {
18921892
const type = isWhitespace(cp)
18931893
? "HTMLWhitespace"
18941894
: state === "RCDATA"
1895-
? "HTMLRawText"
1895+
? "HTMLRCDataText"
18961896
: state === "RAWTEXT"
1897-
? "HTMLRCDataText"
1897+
? "HTMLRawText"
18981898
: "HTMLText"
18991899
if (this.currentToken != null && this.currentToken.type !== type) {
19001900
this.endToken()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.