                       +messagePDF
                   ###}
                   <p className="message-file"
-                   dangerouslySetInnerHTML={__html: formatFile}/>
+                   dangerouslySetInnerHTML={__html: formattedFile.file}/>
                 }
               </div>
             </div>

                <div className="fileDescription">
                  <div className="fileDescriptionText">
                    <span className="fas fa-paperclip"
                      dangerouslySetInnerHTML={__html: formatFileDescription}/>
                  </div>
                  <div className="file-right-buttons btn-group hidden-print">
                    {###if image

    history? or
    messagePreview.get(message._id) ? messagePreviewDefault()
  , [history?, message._id]
  formattedTitle = useTracker ->
    for bold in [true, false]
      ## Only render unbold title if we have children (for back pointer)
      continue unless bold or message.children.length > 0
