We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2483de1 commit fd6ff68Copy full SHA for fd6ff68
1 file changed
src/html_test.cc
@@ -46,19 +46,20 @@ BOOST_AUTO_TEST_CASE(TagsIdentifiers) {
46
std::string html(
47
"<div>\n"
48
" <p>Text</p>\n"
49
- " <span>not block text</span>\n"
50
- " <embed>alt text</embed>\n"
+ " not block text\n"
51
" <p>Paragraph</p>\n"
+ " Inside div\n"
52
"</div>"
53
);
54
55
std::string expected(
56
"Text\n"
57
- "not block text alt text\n"
+ "not block text\n"
58
"Paragraph\n"
59
+ "Inside div\n"
60
61
- std::vector<std::string> tags{"p", "div", "p"};
62
+ std::vector<std::string> tags{"p", "div", "p", "div"};
63
64
AnnotatedText out;
65
auto retval = processHTML(html, out, {});
0 commit comments