oleeskild / digitalgarden

275 stars 159 forks source link

Multiple dataview tables causes build failure #146

Open wheresalice opened 1 year ago

wheresalice commented 1 year ago

Since #133 I now get an error when attempting to update my template to the latest version. I believe this is because of the note I have that has two tables in it

Cannot read properties of null (reading 'classList')
[11ty] Original error stack trace: TypeError: Cannot read properties of null (reading 'classList')

The error refers specifically to line 379 of .eleventy.js, which is t.querySelector("tbody").classList.add("table-view-tbody");