Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Commit

Permalink
Don't leave semicolons behind after consuming character entities
Browse files Browse the repository at this point in the history
Character entities such as `Ö` and `À` were being
consumed incorrectly, leaving the semicolons behind. This commit
fixes those entities and several others with the same problem.
  • Loading branch information
rgrove committed Aug 28, 2014
1 parent 3db1837 commit 405ed67
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/char_ref.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ static const NamedCharRef kNamedEntities[] = {
CHAR_REF("Acirc", 0xc2),
CHAR_REF("Acy;", 0x0410),
CHAR_REF("Afr;", 0x0001d504),
CHAR_REF("Agrave", 0xc0),
CHAR_REF("Agrave;", 0xc0),
CHAR_REF("Agrave", 0xc0),
CHAR_REF("Alpha;", 0x0391),
CHAR_REF("Amacr;", 0x0100),
CHAR_REF("And;", 0x2a53),
Expand Down Expand Up @@ -464,8 +464,8 @@ static const NamedCharRef kNamedEntities[] = {
CHAR_REF("Otilde;", 0xd5),
CHAR_REF("Otilde", 0xd5),
CHAR_REF("Otimes;", 0x2a37),
CHAR_REF("Ouml", 0xd6),
CHAR_REF("Ouml;", 0xd6),
CHAR_REF("Ouml", 0xd6),
CHAR_REF("OverBar;", 0x203e),
CHAR_REF("OverBrace;", 0x23de),
CHAR_REF("OverBracket;", 0x23b4),
Expand Down Expand Up @@ -671,8 +671,8 @@ static const NamedCharRef kNamedEntities[] = {
CHAR_REF("YAcy;", 0x042f),
CHAR_REF("YIcy;", 0x0407),
CHAR_REF("YUcy;", 0x042e),
CHAR_REF("Yacute", 0xdd),
CHAR_REF("Yacute;", 0xdd),
CHAR_REF("Yacute", 0xdd),
CHAR_REF("Ycirc;", 0x0176),
CHAR_REF("Ycy;", 0x042b),
CHAR_REF("Yfr;", 0x0001d51c),
Expand Down Expand Up @@ -1124,18 +1124,18 @@ static const NamedCharRef kNamedEntities[] = {
CHAR_REF("fork;", 0x22d4),
CHAR_REF("forkv;", 0x2ad9),
CHAR_REF("fpartint;", 0x2a0d),
CHAR_REF("frac12", 0xbd),
CHAR_REF("frac12;", 0xbd),
CHAR_REF("frac12", 0xbd),
CHAR_REF("frac13;", 0x2153),
CHAR_REF("frac14", 0xbc),
CHAR_REF("frac14;", 0xbc),
CHAR_REF("frac14", 0xbc),
CHAR_REF("frac15;", 0x2155),
CHAR_REF("frac16;", 0x2159),
CHAR_REF("frac18;", 0x215b),
CHAR_REF("frac23;", 0x2154),
CHAR_REF("frac25;", 0x2156),
CHAR_REF("frac34", 0xbe),
CHAR_REF("frac34;", 0xbe),
CHAR_REF("frac34", 0xbe),
CHAR_REF("frac35;", 0x2157),
CHAR_REF("frac38;", 0x215c),
CHAR_REF("frac45;", 0x2158),
Expand Down

0 comments on commit 405ed67

Please sign in to comment.