-
-
Notifications
You must be signed in to change notification settings - Fork 384
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test case for entity in title not being decoded when decodeEntiti…
…es=false
- Loading branch information
1 parent
3295a8b
commit ffcae9d
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"name": "entity in title - decodeEntities=false (#592)", | ||
"options": { | ||
"parser": { | ||
"decodeEntities": false | ||
} | ||
}, | ||
"html": "<title>the "title"", | ||
"expected": [ | ||
{ | ||
"event": "opentagname", | ||
"data": ["title"] | ||
}, | ||
{ | ||
"event": "opentag", | ||
"data": ["title", {}] | ||
}, | ||
{ | ||
"event": "text", | ||
"data": ["the "title""] | ||
}, | ||
{ | ||
"event": "closetag", | ||
"data": ["title"] | ||
} | ||
] | ||
} |