| 32 | static std::string html_bold(const std::string& content) { return "<B>" + content + "</B>"; } |
| 33 | |
| 34 | static std::string html_table_start(const html_table_style& style) |
| 35 | { |
| 36 | return R"(<<TABLE BORDER=")" + std::to_string(style.border) + R"(" CELLBORDER=")" + |
| 37 | std::to_string(style.cellborder) + R"(" CELLPADDING=")" + |
| 38 | std::to_string(style.cellpadding) + R"(" CELLSPACING=")" + |
| 39 | std::to_string(style.cellspacing) + R"(" COLOR="transparent">)"; |
| 40 | } |
| 41 | |
| 42 | static std::string html_table_end() { return "</TABLE>>"; } |
| 43 |
no test coverage detected