diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-02-06 12:36:31 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-02-06 12:36:31 +0100 |
commit | ca9b558f4444e7f3e8bde5f72d2ec138ab6cb0ed (patch) | |
tree | cec2dfc75386670f80f1a098647339d212345d4f /src/styleengine.hh | |
parent | a937e7eada039cbdd195c61eda541c749d4c2050 (diff) |
fix check for name/id mismatch (noticed by corvid)
Diffstat (limited to 'src/styleengine.hh')
-rw-r--r-- | src/styleengine.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/styleengine.hh b/src/styleengine.hh index 75f8fdd1..a17a350c 100644 --- a/src/styleengine.hh +++ b/src/styleengine.hh @@ -48,6 +48,7 @@ class StyleEngine : public Doctree { void parse (const char *buf, int buflen, CssOrigin origin); void startElement (int tag); void setId (const char *id); + const char * getId () { return top ()->id; }; void setClass (const char *klass); void setStyle (const char *style); void endElement (int tag); |