| 269 | // Print comment node |
| 270 | template<class OutIt, class Ch> |
| 271 | inline OutIt print_comment_node(OutIt out, const xml_node<Ch> *node, int flags, int indent) |
| 272 | { |
| 273 | assert(node->type() == node_comment); |
| 274 | if (!(flags & print_no_indenting)) |
| 275 | out = fill_chars(out, indent, Ch('\t')); |
| 276 | *out = Ch('<'), ++out; |
| 277 | *out = Ch('!'), ++out; |
| 278 | *out = Ch('-'), ++out; |
| 279 | *out = Ch('-'), ++out; |
| 280 | out = copy_chars(node->value(), node->value() + node->value_size(), out); |
| 281 | *out = Ch('-'), ++out; |
| 282 | *out = Ch('-'), ++out; |
| 283 | *out = Ch('>'), ++out; |
| 284 | return out; |
| 285 | } |
| 286 | |
| 287 | // Print doctype node |
| 288 | template<class OutIt, class Ch> |
no test coverage detected