summaryrefslogtreecommitdiff
path: root/dviware/dvisvgm/src/HtmlSpecialHandler.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'dviware/dvisvgm/src/HtmlSpecialHandler.hpp')
-rw-r--r--dviware/dvisvgm/src/HtmlSpecialHandler.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/dviware/dvisvgm/src/HtmlSpecialHandler.hpp b/dviware/dvisvgm/src/HtmlSpecialHandler.hpp
index f722060538..33f564f63b 100644
--- a/dviware/dvisvgm/src/HtmlSpecialHandler.hpp
+++ b/dviware/dvisvgm/src/HtmlSpecialHandler.hpp
@@ -31,9 +31,10 @@ class HtmlSpecialHandler : public SpecialHandler {
public:
void preprocess (const std::string &prefix, std::istream &is, SpecialActions &actions) override;
bool process (const std::string &prefix, std::istream &is, SpecialActions &actions) override;
- const char* name () const override {return "html";}
const char* info () const override {return "hyperref specials";}
- std::vector<const char*> prefixes() const override;
+ const char* name () const override {return handlerName();}
+ static const char* handlerName () {return "html";}
+ std::vector<const char*> prefixes () const override;
protected:
void dviEndPage (unsigned pageno, SpecialActions &actions) override;