         fatalError("init(coder:) has not been implemented")
     }
 
-    deinit {
-        webView.removeObserver(self, forKeyPath: IssueCommentHtmlCell.WebviewKeyPath)
-    }
-
     override func prepareForReuse() {
         super.prepareForReuse()
         webView.isHidden = true

}

final class IssueCommentHtmlCell: IssueCommentBaseCell, ListBindable, UIWebViewDelegate {

    private static let WebviewKeyPath = #keyPath(UIWebView.scrollView.contentSize)

    private static let ImgScheme = "freetime-img"
    private static let htmlHead = """

    }

    func webViewDidFinishLoad(_ webView: UIWebView) {
        // if the cell is hidden, its been put back in the reuse pool
        guard self.isHidden == false,
            let contentHeight = webView.stringByEvaluatingJavaScript(from: "document.body.offsetHeight") as NSString?
            else { return }

        let size = CGSize(width: contentView.bounds.width, height: CGFloat(contentHeight.floatValue))
        delegate?.webViewDidResize(cell: self, html: body, cellWidth: size.width, size: size)
    }

}
