summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2013-08-03 05:45:40 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2013-08-03 05:45:40 +0200
commit79b16616d7a4dd7038dc3b3a5a72beb51efa7b03 (patch)
treeada300594d1dade1807576838913e76cb8d46987
parent041eb4b30d035f3b1fd610dab5f291559355b2c8 (diff)
libhtml: handle &apos; character reference
the &apos; is not strickly html, but can appear in xhtml files.
-rw-r--r--sys/src/libhtml/lex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/libhtml/lex.c b/sys/src/libhtml/lex.c
index 70106b9b4..215e45784 100644
--- a/sys/src/libhtml/lex.c
+++ b/sys/src/libhtml/lex.c
@@ -320,6 +320,7 @@ StringInt chartab[]= {
{L"amp", 38},
{L"and", 8743},
{L"ang", 8736},
+ {L"apos", 39},
{L"aring", 229},
{L"asymp", 8776},
{L"atilde", 227},