Escape the BibTeX entry in the card template

#1
by m4zar - opened

Hi! Small fix: kernel-builder renders CARD.md as a minijinja template, so the {{ in the BibTeX entry is read as a template variable and build-and-copy / build-and-upload fail with syntax error in card:118 on the current main. The citation was added after the last upload, so it hasn't shown up yet.

Wrapping the block in {% raw -%} / {% endraw -%} fixes it. With this change the card step of build-and-copy passes, and the rendered card is the same as CARD.md.

Sentence Transformers org

Hello!

Sounds great, thanks for this.

  • Tom Aarsen
tomaarsen changed pull request status to merged

Sign up or log in to comment