harvard-lil / h2o

H2O is a web app for creating and reading open educational resources, primarily in the legal field
https://opencasebook.org
GNU Affero General Public License v3.0
37 stars 30 forks source link

Verify Footnote styles work in export #1432

Closed holtchesley closed 1 year ago

holtchesley commented 3 years ago

Make sure that exports are properly styling Footnote References and Footnotes.

Add a test or two.

rebeccacremona commented 3 years ago

Looks like we don't presently apply Footnote Text: https://github.com/harvard-lil/h2o/blob/6ed792207e364f22ecab9f4af00281f07de0cc29/web/main/models.py#L2393, called by https://github.com/harvard-lil/h2o/blob/develop/web/main/templates/export/node.html#L36.

I bet I dropped that by accident in the transition to pandoc.

rebeccacremona commented 2 years ago

Note: this is about author-supplied annotations on TextBlock and LegalDocuments that are, in our present setup, exported in a footnote-like manner (note and link annotations). This is NOT about any of the other varieties of footnotes.