We need a PDF backend that can apply similar code manipulations to the HTML backend. See https://github.com/spring-projects/spring-boot/issues/26373