def updateContents(self, inputPorts):
        (self.html,) = inputPorts
        if isinstance(self.html, unicode):
            html = self.html
        else:
            codec = QtCore.QTextCodec.codecForHtml(self.html)
            html = codec.toUnicode(self.html)
        self.browser.setHtml(html)
:param x: (batch, time, vec)
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/packages/spreadsheet/widgets/richtext/richtext.py/RichTextCellWidget.updateContents--crossover with--dataset/ETHPy150Open zomux/deepy/experiments/lm/layers.py/ClassOutputLayer.compute_tensor