support for input which does not define a <body>