add subset of named entities (sync from webdump) - grabtitle - stupid HTML titl… | |
git clone git://git.codemadness.org/grabtitle | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 38f1c2aa05094b98f4c5ea8bec8161f2b663684d | |
parent 8e2bee7e85c6a6fbdb2b9ef84c69f8f74ab5b77c | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Sat, 30 May 2020 13:39:00 +0200 | |
add subset of named entities (sync from webdump) | |
Diffstat: | |
A namedentities.h | 44 +++++++++++++++++++++++++++++… | |
1 file changed, 44 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/namedentities.h b/namedentities.h | |
@@ -0,0 +1,44 @@ | |
+/* from https://dev.w3.org/html5/html-author/charref and | |
+ https://www.w3.org/TR/html4/sgml/entities.html */ | |
+ | |
+{ "AMP;", 0x00026 }, /* AMPERSAND */ | |
+{ "COPY;", 0x000A9 }, /* COPYRIGHT SIGN */ | |
+{ "GT;", 0x0003E }, /* GREATER-THAN SIGN */ | |
+{ "LT;", 0x0003C }, /* LESS-THAN SIGN */ | |
+{ "QUOT;", 0x00022 }, /* QUOTATION MARK */ | |
+{ "REG;", 0x000AE }, /* REGISTERED SIGN */ | |
+{ "TRADE;", 0x02122 }, /* TRADE MARK SIGN */ | |
+{ "acute;", 0x000B4 }, /* ACUTE ACCENT */ | |
+{ "amp;", 0x00026 }, /* AMPERSAND */ | |
+{ "apos;", 0x00027 }, /* APOSTROPHE */ | |
+{ "bull;", 0x02022 }, /* BULLET */ | |
+{ "bullet;", 0x02022 }, /* BULLET */ | |
+{ "copy;", 0x000A9 }, /* COPYRIGHT SIGN */ | |
+{ "dagger;", 0x02020 }, /* DAGGER */ | |
+{ "dash;", 0x02010 }, /* HYPHEN */ | |
+{ "dollar;", 0x00024 }, /* DOLLAR SIGN */ | |
+{ "emsp;", 0x02003 }, /* EM SPACE */ | |
+{ "ensp;", 0x02002 }, /* EN SPACE */ | |
+{ "equals;", 0x0003D }, /* EQUALS SIGN */ | |
+{ "euro;", 0x020AC }, /* EURO SIGN */ | |
+{ "grave;", 0x00060 }, /* GRAVE ACCENT */ | |
+{ "gt;", 0x0003E }, /* GREATER-THAN SIGN */ | |
+{ "hyphen;", 0x02010 }, /* HYPHEN */ | |
+{ "laquo;", 0x000AB }, /* LEFT-POINTING DOUBLE ANGLE QUOTATION MARK */ | |
+{ "ldquo;", 0x0201C }, /* LEFT DOUBLE QUOTATION MARK */ | |
+{ "lpar;", 0x00028 }, /* LEFT PARENTHESIS */ | |
+{ "lsquo;", 0x02018 }, /* LEFT SINGLE QUOTATION MARK */ | |
+{ "lt;", 0x0003C }, /* LESS-THAN SIGN */ | |
+{ "mdash;", 0x02014 }, /* EM DASH */ | |
+{ "nbsp;", 0x000A0 }, /* NO-BREAK SPACE */ | |
+{ "ndash;", 0x02013 }, /* EN DASH */ | |
+{ "percnt;", 0x00025 }, /* PERCENT SIGN */ | |
+{ "pound;", 0x000A3 }, /* POUND SIGN */ | |
+{ "quot;", 0x00022 }, /* QUOTATION MARK */ | |
+{ "raquo;", 0x000BB }, /* RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK */ | |
+{ "rdquo;", 0x0201D }, /* RIGHT DOUBLE QUOTATION MARK */ | |
+{ "reg;", 0x000AE }, /* REGISTERED SIGN */ | |
+{ "rpar;", 0x00029 }, /* RIGHT PARENTHESIS */ | |
+{ "rsquo;", 0x02019 }, /* RIGHT SINGLE QUOTATION MARK */ | |
+{ "trade;", 0x02122 }, /* TRADE MARK SIGN */ | |
+{ "yen;", 0x000A5 }, /* YEN SIGN */ |