void () { doTest(""" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <bo<caret>dy onload=""> </body> </html>""", "<div class='definition'><pre>body</pre></div>\n<div class='content'>" + "The <strong><code>&lt;body&gt;</code></strong> <a href=\"https://developer.mozilla.org/en-us/docs/Web/HTML\">HTML</a> " + "element represents the content of an HTML document.", Collections.singletonList("https://developer.mozilla.org/en-us/docs/web/html/element/body")); }