| 77 | |
| 78 | |
| 79 | void XMLWriter::comment(const char* text, const bool multiLine) |
| 80 | { |
| 81 | if (_config & XMLWRITER_COMMENT) |
| 82 | { |
| 83 | print('\n'); |
| 84 | if (!multiLine) indent(); |
| 85 | print(F("<!-- ")); |
| 86 | if (multiLine) print('\n'); |
| 87 | print(text); |
| 88 | if (multiLine) print('\n'); |
| 89 | print(F(" -->\n")); |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | |
| 94 | void XMLWriter::newLine(uint8_t n) |