 import NYTPhotoViewer
 
 final class IssueCommentSectionController: ListBindingSectionController<IssueCommentModel>,
-ListBindingSectionControllerDataSource,
-ListBindingSectionControllerSelectionDelegate,
-IssueCommentDetailCellDelegate,
-IssueCommentReactionCellDelegate,
-IssueCommentImageCellDelegate,
-NYTPhotosViewControllerDelegate,
+    ListBindingSectionControllerDataSource,
+    ListBindingSectionControllerSelectionDelegate,
+    IssueCommentDetailCellDelegate,
+    IssueCommentReactionCellDelegate,
+    IssueCommentImageCellDelegate,
+    NYTPhotosViewControllerDelegate,
 IssueCommentHtmlCellDelegate {
 
     private var collapsed = true


    func webViewDidLoad(cell: IssueCommentHtmlCell) {
        guard let index = collectionContext?.index(for: cell, sectionController: self),
        index < viewModels.count,
        let model = viewModels[index] as? IssueCommentHtmlModel,
        htmlSizes[model.html] == nil
        else { return }
        htmlSizes[model.html] = cell.webViewPreferredSize()
        UIView.performWithoutAnimation {
            self.collectionContext?.invalidateLayout(for: self)

        // extra config outside of bind API
        if let cell = cell as? CollapsibleCell {
            cell.setCollapse(visible: collapsed && (viewModel as AnyObject) === object?.collapse?.model)
        }
        
        if let cell = cell as? IssueCommentDetailCell {
            cell.delegate = self
        } else if let cell = cell as? IssueCommentReactionCell {
            cell.delegate = self
