|
a/src/internfile/htmlparse.cpp |
|
b/src/internfile/htmlparse.cpp |
|
... |
|
... |
21 |
* USA
|
21 |
* USA
|
22 |
* -----END-LICENCE-----
|
22 |
* -----END-LICENCE-----
|
23 |
*/
|
23 |
*/
|
24 |
|
24 |
|
25 |
#ifndef lint
|
25 |
#ifndef lint
|
26 |
static char rcsid[] = "@(#$Id: htmlparse.cpp,v 1.4 2005-12-08 08:44:14 dockes Exp $ ";
|
26 |
static char rcsid[] = "@(#$Id: htmlparse.cpp,v 1.5 2006-01-27 11:25:14 dockes Exp $ ";
|
27 |
#endif
|
27 |
#endif
|
28 |
|
28 |
|
29 |
//#include <config.h>
|
29 |
//#include <config.h>
|
30 |
|
30 |
|
31 |
#include <algorithm>
|
31 |
#include <algorithm>
|
|
... |
|
... |
96 |
* Copyright (C) 2003-2004 Mikio Hirabayashi
|
96 |
* Copyright (C) 2003-2004 Mikio Hirabayashi
|
97 |
* The version where this comes from
|
97 |
* The version where this comes from
|
98 |
* is covered by the GNU licence, as this file.*/
|
98 |
* is covered by the GNU licence, as this file.*/
|
99 |
static const char *epairs[] = {
|
99 |
static const char *epairs[] = {
|
100 |
/* basic symbols */
|
100 |
/* basic symbols */
|
101 |
"amp", "", "lt", "<", "gt", ">", "quot", "\"", "apos", "'",
|
101 |
"amp", "&", "lt", "<", "gt", ">", "quot", "\"", "apos", "'",
|
102 |
/* ISO-8859-1 */
|
102 |
/* ISO-8859-1 */
|
103 |
"nbsp", "\xc2\xa0", "iexcl", "\xc2\xa1", "cent", "\xc2\xa2",
|
103 |
"nbsp", "\xc2\xa0", "iexcl", "\xc2\xa1", "cent", "\xc2\xa2",
|
104 |
"pound", "\xc2\xa3", "curren", "\xc2\xa4", "yen", "\xc2\xa5",
|
104 |
"pound", "\xc2\xa3", "curren", "\xc2\xa4", "yen", "\xc2\xa5",
|
105 |
"brvbar", "\xc2\xa6", "sect", "\xc2\xa7", "uml", "\xc2\xa8",
|
105 |
"brvbar", "\xc2\xa6", "sect", "\xc2\xa7", "uml", "\xc2\xa8",
|
106 |
"copy", "\xc2\xa9", "ordf", "\xc2\xaa", "laquo", "\xc2\xab",
|
106 |
"copy", "\xc2\xa9", "ordf", "\xc2\xaa", "laquo", "\xc2\xab",
|