     }
     
     @IBAction func downloadAttachment(_ sender: UIButton) {
+        var attachmentUrl = URL(string: content.attachment!.attachmentUrl)!
         UIApplication.shared.openURL(attachmentUrl)
         createContentAttempt()
     }

    }
    
    func displayAttachment() {
        attachmentUrl = URL(string: content.attachment!.attachmentUrl)!
        if attachmentUrl.pathExtension != "pdf" {
            viewAttachmentButton.isHidden = true
        } else {

    @IBOutlet weak var bookmarkAnimationContainer: UIView!
    
    var content: Content!
    var bookmark: Bookmark!
    var position: Int!
    var loading: Bool = false
