///
StartTag(std::string const & tag, std::string const & attr,
bool keepempty = false)
: tag_(tag), attr_(attr), keepempty_(keepempty) {}
///
StartTag(std::string const & tag, std::string const & attr,
bool keepempty = false)
: tag_(tag), attr_(attr), keepempty_(keepempty) {}
///
CompTag(std::string const & tag, std::string const & attr)
: tag_(tag), attr_(attr) {}
///
CompTag(std::string const & tag, std::string const & attr)
: tag_(tag), attr_(attr) {}
docstring escapeChar(char_type c);
/// converts a string to a form safe for links, etc
docstring htmlize(docstring const & str);
docstring escapeChar(char_type c);
/// converts a string to a form safe for links, etc
docstring htmlize(docstring const & str);
/// \return true if tag was opened, false if not
bool openTag(odocstream & os, std::string const & tag,
std::string const & attr);
/// \return true if tag was opened, false if not
bool openTag(odocstream & os, std::string const & tag,
std::string const & attr);