--- a/src/internfile/myhtmlparse.h
+++ b/src/internfile/myhtmlparse.h
@@ -29,24 +29,26 @@
#define WHITESPACE " \t\n\r"
class MyHtmlParser : public HtmlParser {
- public:
- bool in_script_tag;
- bool in_style_tag;
- bool in_body_tag;
- bool pending_space;
- string title, sample, keywords, dump, dmtime;
- string ocharset; // This is the charset our user thinks the doc was
- string charset; // This is the charset it was supposedly converted to
- string doccharset; // Set this to value of charset parameter in header
- bool indexing_allowed;
- void process_text(const string &text);
- void opening_tag(const string &tag, const map<string,string> &p);
- void closing_tag(const string &tag);
- void do_eof();
- MyHtmlParser() :
- in_script_tag(false),
- in_style_tag(false),
- in_body_tag(false),
- pending_space(false),
- indexing_allowed(true) { }
+ public:
+ bool in_script_tag;
+ bool in_style_tag;
+ bool in_body_tag;
+ bool in_pre_tag;
+ bool pending_space;
+ string title, sample, keywords, dump, dmtime;
+ string ocharset; // This is the charset our user thinks the doc was
+ string charset; // This is the charset it was supposedly converted to
+ string doccharset; // Set this to value of charset parameter in header
+ bool indexing_allowed;
+ void process_text(const string &text);
+ void opening_tag(const string &tag, const map<string,string> &p);
+ void closing_tag(const string &tag);
+ void do_eof();
+ MyHtmlParser() :
+ in_script_tag(false),
+ in_style_tag(false),
+ in_body_tag(false),
+ in_pre_tag(false),
+ pending_space(false),
+ indexing_allowed(true) { }
};