Quarto - OJS fails to render but previews

I believe this is expected. OJS is JS based, and opening a HTML file only in a browser is not like looking at an online webpage. Some resources may not load, or feature not work.

This is why you need quarto preview so that a local web server is started for you too look at your document.

Some discussion in