-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or request
Description
the to_html method is not handling the title tag properly, and there are similar issues with other tags such as iframe.
TEST(test, handlesKnownEmptyTitle){
string h = "<html><head><title /><meta name=foo></head><body>One</body></html>";
parser parse;
node_ptr doc = parse.parse(h);
//<html><head><title></title><meta name=\"foo\"></head><body>One</body></html>
ASSERT_EQ("<html>\n\t<head>\n\t\t<title />\n\t\t<meta name=\"foo\" />\n\t</head>\n\t<body>One</body>\n</html>", doc->to_html());
}
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request