Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug on $dompdf->render() #3441

Open
sylvain- opened this issue Apr 18, 2024 · 1 comment
Open

Bug on $dompdf->render() #3441

sylvain- opened this issue Apr 18, 2024 · 1 comment
Labels

Comments

@sylvain-
Copy link

When you set a $dompdf->render() and return after an http response, a string is returned in the response and breaks the browser viewer when content disposition is inline

$dompdf->render();

it is necessary to add ob_get_clean() in this method.

thanks

@bsweeney
Copy link
Member

Not sure I quite follow, but this sounds more like an issue with your particular implementation. Can you provide more details? What does the browser see after calling $dompdf->render()?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants