Simon-Initiative / course-digest

Tool to produce a summary or digest of OLI course package contents
MIT License
2 stars 0 forks source link

[BUG FIX] [MER-3802] [MER-3803] Ensure bibliography author field migrates as is #268

Closed andersweinstein closed 6 days ago

andersweinstein commented 1 week ago

Author fields in legacy bibliography entries were getting parsed as proper names in the conversion pipeline, leading to institution authors like "Dept of Labor" being rendered "of Labor, D." in migrated reference lists. It turns out legacy theme always rendered the author field contents literally without change. This allows for institutions as authors, but requires legacy content author to enter author field contents in proper bibliography form if needed. This PR takes steps to ensure author contents pass through migration literally.

This PR also takes the opportunity to upgrade to the latest version of the citation-js module, used to manage conversion by the digest tool and rendering of bibliography entries by torus client-side components. That suffices to fix MER-3802, bib:misc type entries getting migrated into book type entries. In the latest citation-js version these migrate into "document" type entries. Torus itself generates pages that always fetch the latest version of citation-js from a CDN in a Githubissues.

  • Githubissues is a development platform for aggregating issues.