void () { doTextTest("<html><body><table></table></body></html>", """ <html> <body> <table></table> </body> </html>"""); doTextTest("<html><body><table></table><tag></tag></body></html>", """ <html> <body> <table></table> <tag></tag> </body> </html>"""); doTextTest("<html><body><table></table> text</body></html>", """ <html> <body> <table></table> text </body> </html>"""); doTextTest("<html><body><table></table>text</body></html>", """ <html> <body> <table></table> text </body> </html>"""); }