diff options
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r-- | src/styleengine.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc index cde1f926..35e37543 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -13,6 +13,7 @@ #include <math.h> #include "../dlib/dlib.h" #include "prefs.h" +#include "html_common.hh" #include "styleengine.hh" using namespace dw::core::style; @@ -85,6 +86,10 @@ void StyleEngine::startElement (int element) { n->inheritBackgroundColor = false; } +void StyleEngine::startElement (const char *tagname) { + startElement (a_Html_tag_index (tagname)); +} + void StyleEngine::setId (const char *id) { Node *n = stack->getRef (stack->size () - 1); assert (n->id == NULL); |