     ///
     init(htmlAttachment: HTMLAttachment) {
         self.htmlAttachment = htmlAttachment
+        self.pristinePrettyHTML = htmlAttachment.prettyHTML()
         super.init(nibName: nil, bundle: nil)
     }
 

    }
}


// MARK: - Actions
//
extension UnknownEditorViewController {

    @IBAction func cancelWasPressed() {
        dismiss(animated: true, completion: nil)
    }

    @IBAction func saveWasPressed() {
        
    }
}


        editorView = UITextView(frame: .zero, textContainer: container)
        editorView.accessibilityLabel = NSLocalizedString("HTML Content", comment: "Post HTML content")
        editorView.accessibilityIdentifier = "HTMLContentView"
        editorView.delegate = self
        editorView.translatesAutoresizingMaskIntoConstraints = false
        editorView.text = pristinePrettyHTML
    }

    func setupMainView() {
