diff options
-rw-r--r-- | src/htmlentity.cpp | 1 | ||||
-rw-r--r-- | src/htmlentity.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/htmlentity.cpp b/src/htmlentity.cpp index c7ff1da..9f83991 100644 --- a/src/htmlentity.cpp +++ b/src/htmlentity.cpp @@ -326,6 +326,7 @@ HtmlEntityMapper::HtmlEntityMapper() { m_name2sym->insert(g_htmlEntities[i].item,new int(g_htmlEntities[i].symb)); } + validate(); } HtmlEntityMapper::~HtmlEntityMapper() diff --git a/src/htmlentity.h b/src/htmlentity.h index 9cebeb3..d3b268c 100644 --- a/src/htmlentity.h +++ b/src/htmlentity.h @@ -36,8 +36,8 @@ class HtmlEntityMapper const char *rtf(DocSymbol::SymType symb) const; const DocSymbol::PerlSymb *perl(DocSymbol::SymType symb) const; void writeXMLSchema(FTextStream &t); - void validate(); private: + void validate(); HtmlEntityMapper(); ~HtmlEntityMapper(); static HtmlEntityMapper *s_instance; |