For example, if a filename contains two hyphens (XWiki markup for strikethrough):
- The displayed attachment name on the patient form is okay
- The displayed attachment name on the attachments modal is rendered with markup
- The URL for the attachment includes "<del>"
- The title for the link includes "</del>"
As a result, these attachments cannot be deleted through the normal UI
Verified on the playground and on an instance on 1.3.6.