def soup(self):
dom = BeautifulSoup('<STR_LIT>')<EOL>if len(dom) > <NUM_LIT:1>:<EOL><INDENT>list(dom.children)[<NUM_LIT:1>].replaceWith('<STR_LIT>')  <EOL><DEDENT>soup = Element.soup(self)<EOL>dom.append(soup)<EOL>for plugin in self.plugins(deduplicate=True):<EOL><INDENT>dom = plugin(dom)<EOL><DEDENT>return dom<EOL>
Running plugins and adding an HTML doctype to the
generated Tag HTML.