| 164 | |
| 165 | template <typename Output> |
| 166 | void HTMLElement::writeToStream (Output& out, bool includeHeader) const |
| 167 | { |
| 168 | if (includeHeader) |
| 169 | out << "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">" << std::endl; |
| 170 | |
| 171 | print (out, 0, { true, false }); |
| 172 | } |
| 173 | |
| 174 | inline HTMLElement& HTMLElement::addRawContent (std::string text) |
| 175 | { |
nothing calls this directly
no outgoing calls
no test coverage detected