fix: prevent style block being echoed before html is echoed