Add file extension to attachment file name when exporting to JATS
When linking to a figure's image file in graphic[@xlink:href]
, use the figure's contentType
property to set the file extension.
The exported generateAttachmentFilename
method will also be used in the frontend to ensure that the files in the project bundle's Data
folder are named appropriately.