Exporting to PDF only generates a single page (repost)

Sorry, I ran some more tests and I think I’ve identified the error (I call it an error because it didn’t occur in the previous version).

I have a snippet that tells the PDF generator to generate the text in two columns.

I created a new vault, copied the content into a new note, and when I added a CSS with only the following

@media print {
    body {
        column-count: 2;
    }
}

the export only generated one page. If I remove it, the PDF is generated with all the pages.