|
a/src/internfile/htmlparse.h |
|
b/src/internfile/htmlparse.h |
|
... |
|
... |
28 |
using std::map;
|
28 |
using std::map;
|
29 |
|
29 |
|
30 |
class HtmlParser {
|
30 |
class HtmlParser {
|
31 |
protected:
|
31 |
protected:
|
32 |
void decode_entities(string &s);
|
32 |
void decode_entities(string &s);
|
33 |
static map<string, unsigned int> named_ents;
|
33 |
static map<string, string> named_ents;
|
34 |
public:
|
34 |
public:
|
35 |
virtual void process_text(const string &/*text*/) { }
|
35 |
virtual void process_text(const string &/*text*/) { }
|
36 |
virtual void opening_tag(const string &/*tag*/,
|
36 |
virtual void opening_tag(const string &/*tag*/,
|
37 |
const map<string,string> &/*p*/) { }
|
37 |
const map<string,string> &/*p*/) { }
|
38 |
virtual void closing_tag(const string &/*tag*/) { }
|
38 |
virtual void closing_tag(const string &/*tag*/) { }
|