caltechlibrary / iga

IGA is the InvenioRDM GitHub Archiver, a standalone program as well as a GitHub Action that lets you automatically archive GitHub software releases in an InvenioRDM repository.
https://caltechlibrary.github.io/iga/
Other
8 stars 1 forks source link

description() handler in metadata.py should not unconditionally run md→html conversion #12

Open mhucka opened 1 year ago

mhucka commented 1 year ago

Currently, description() in metadata.py always runs a markdown-to-html converter on the text of a release description. That's okay if the text is coming from GitHub's release body text, but not if the body text is empty and description() reaches for values in the CM or CFF files. Something smarter should be done there.