| Index: Source/core/html/parser/HTMLEntityParser.cpp
|
| diff --git a/Source/core/html/parser/HTMLEntityParser.cpp b/Source/core/html/parser/HTMLEntityParser.cpp
|
| index 62167ef4103e2cb8f0c29c8f2ecc792389b364a8..dc30c83715f4f72ba2b92a598ad4d987b51370c8 100644
|
| --- a/Source/core/html/parser/HTMLEntityParser.cpp
|
| +++ b/Source/core/html/parser/HTMLEntityParser.cpp
|
| @@ -95,8 +95,8 @@
|
| if (consumedCharacters.size() == 1)
|
| source.push(consumedCharacters[0]);
|
| else if (consumedCharacters.size() == 2) {
|
| + source.push(consumedCharacters[0]);
|
| source.push(consumedCharacters[1]);
|
| - source.push(consumedCharacters[0]);
|
| } else
|
| source.prepend(SegmentedString(String(consumedCharacters)));
|
| }
|
| @@ -212,8 +212,8 @@
|
| entityState = Hex;
|
| continue;
|
| }
|
| + source.push('#');
|
| source.push('x');
|
| - source.push('#');
|
| return false;
|
| }
|
| case MaybeHexUpperCaseX: {
|
| @@ -221,8 +221,8 @@
|
| entityState = Hex;
|
| continue;
|
| }
|
| + source.push('#');
|
| source.push('X');
|
| - source.push('#');
|
| return false;
|
| }
|
| case Hex: {
|
|
|