Closed apirogov closed 1 year ago
This is similar to https://github.com/carpentries/sandpaper/issues/441 and I agree that it should be fixed.
The fix for this particular issue is to add an else
statment to these lines:
if (html != '') {
html <- xml2::read_html(html)
fix_nodes(html)
+ } else {
+ html <- xml2::read_html("<p></p>")
}
I think this is a good first issue for one of the @carpentries/workbench-maintainers to tackle if they have time.
I can give it a try
As far as I understand, the
instructors/instructor-notes.md
provide the information at the top, while the rest of the notes is auto-generated.Currently you HAVE to write something there, i.e.
will fail with an error:
using sandpaper (0.12.4), pegboard (0.5.3), and varnish (0.2.18).