This was causing a rather cryptic error when building lessons with sandpaper:
── Validating Fenced Divs ────────────────────────────────────────────────────────────────────────────────────
...
── Initialising site ─────────────────────────────────────────────────────────────────────────────────────────
── Scanning episodes to rebuild ──────────────────────────────────────────────────────────────────────────────
Error in `purrr::map()`:
ℹ In index: 4.
Caused by error in `if (key$key[h] != key$key[i]) ...`:
! argument is of length zero
Run `rlang::last_trace()` to see where the error occurred.
My guess is that the template got updated in the upstream Carpentries repo at some point, which made
our custom #aio_pdf div element no longer valid.
This was causing a rather cryptic error when building lessons with
sandpaper
:My guess is that the template got updated in the upstream Carpentries repo at some point, which made our custom
#aio_pdf
div element no longer valid.This should fix it.