     private func switchToHTML() {
         navigationItem.rightBarButtonItem?.title = NSLocalizedString("Native", comment: "Rich Edition!")
 
-        htmlTextView.text = richTextView.toHTML()
+        htmlTextView.text = richTextView.exportHTML()
 
         view.endEditing(true)
         htmlTextView.hidden = false

    }


    // MARK: - Layout


    func layoutTextView() {
        let lineHeight = titleTextField.font!.lineHeight

    }


    // MARK: - Lifecycle Methods

    deinit {
        NSNotificationCenter.defaultCenter().removeObserver(self)
