def __init__(self, control):
        """ Creates an HtmlExporter for the given Q(Plain)TextEdit.
        """
        assert isinstance(control, (QtWidgets.QPlainTextEdit, QtWidgets.QTextEdit))
        self.control = control
        self.filename = 'ipython.html'
        self.image_tag = None
        self.inline_png = None
 Creates an HtmlExporter for the given Q(Plain)TextEdit.
        
angrmanagement/vendor/qtconsole/rich_text.py