From 7f26d513181929b5caebeb3841e424eb246a0781 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 9 Sep 2007 08:02:52 +0000 Subject: [PATCH] Add apos character entity (STR #54) --- CHANGES | 1 + mxml-entity.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 6f45883..784f3a4 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,7 @@ CHANGES - 2007-09-09 CHANGES IN Mini-XML 2.3.1 + - Added support for the apos character entity (STR #54) - Fixed whitespace detection with Unicode characters (STR #48) - mxmlWalkNext() and mxmlWalkPrev() did not work correctly diff --git a/mxml-entity.c b/mxml-entity.c index cebc35b..9a405fe 100644 --- a/mxml-entity.c +++ b/mxml-entity.c @@ -4,7 +4,7 @@ * Character entity support code for Mini-XML, a small XML-like * file parsing library. * - * Copyright 2003-2005 by Michael Sweet. + * Copyright 2003-2007 by Michael Sweet. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -245,6 +245,7 @@ default_callback(const char *name) /* I - Entity name */ { "amp", '&' }, { "and", 8743 }, { "ang", 8736 }, + { "apos", '\'' }, { "aring", 229 }, { "asymp", 8776 }, { "atilde", 227 },