{
const std::vector<std::pair<std::string, std::string>> cases{
- {" <body>\n"
- " <!-- page content -->\n"
- " Hello, world!<br>test</br><br>content</hr>more content<br>\n"
- " <div>\n"
- " content inside div\n"
- " </div>\n"
- " </body>", "Hello, world!\ntest\ncontent\nmore content\ncontent inside div\n"},
{" <body>\n"
" <!-- escape content -->\n"
" a b a > b a < b a & b 'a "a"\n"
" <td>data2</td>\n"
" </tr>\n"
" </table>", "heada headb\ndata1 data2\n"},
-
+ {" <body>\n"
+ " <!-- page content -->\n"
+ " Hello, world!<br>test</br><br>content</hr>more content<br>\n"
+ " <div>\n"
+ " content inside div\n"
+ " </div>\n"
+ " </body>", "Hello, world!\ntest\ncontentmore content\ncontent inside div\n"},
};
rspamd_url_init(NULL);
</div>
</body>
</html>
- ]], 'Hello, world!\ntest\ncontent\nmore content\ncontent inside div\n'},
+ ]], 'Hello, world!\ntest\ncontentmore content\ncontent inside div\n'},
{[[
<html lang="en">
<head>