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

Extra space with img tag using writeHTML function with MultiCell #695

Open
dragonofmercy opened this issue Mar 14, 2024 · 0 comments
Open

Comments

@dragonofmercy
Copy link

image

As you can size above the cell are bigger than what I defined, in this case $h = 20.

In the writeHTML function in the big if that insolate "img" tags there is a mistake.

At the line 19057 Change $tag['attribute']['align'] = 'bottom'; to $tag['attribute']['align'] = '';

At the line 19073, change $align = 'B'; to $align = '';

There correction fixed my problem as you can see below. I think it will be good to add it for the next version.

image

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

No branches or pull requests

1 participant