diff --git a/thoth-export-server/src/xml/doideposit_crossref.rs b/thoth-export-server/src/xml/doideposit_crossref.rs index 17efdda8..b1597ce3 100644 --- a/thoth-export-server/src/xml/doideposit_crossref.rs +++ b/thoth-export-server/src/xml/doideposit_crossref.rs @@ -334,6 +334,9 @@ fn work_metadata( Ok(()) })?; } + + // crossmark logic goes here + if !work.fundings.is_empty() { write_full_element_block("fr:program", Some(vec![("name", "fundref")]), w, |w| { for funding in &work.fundings {