fix the problem with parsing HTML comments (closes bug 1116708; based on patch 1168583)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -128,6 +128,13 @@ public:
|
||||
// Returns entity parser object, used to substitute HTML &entities;
|
||||
wxHtmlEntitiesParser *GetEntitiesParser() const { return m_entitiesParser; }
|
||||
|
||||
// Returns true if the tag starting at the given position is a comment tag
|
||||
//
|
||||
// p should point to '<' character and is modified to point to the closing
|
||||
// '>' of the end comment tag if this is indeed a comment
|
||||
static bool
|
||||
SkipCommentTag(wxString::const_iterator& p, wxString::const_iterator end);
|
||||
|
||||
protected:
|
||||
// DOM structure
|
||||
void CreateDOMTree();
|
||||
|
Reference in New Issue
Block a user