-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
html to docx image not parsing #1288
Comments
There was indeed a problem with the parsing of images in version 0.13 |
How can I do it? |
@htmls don't get fooled by the VERSION file, it did not get updated when 0.14 was released. You should have 0.14 installed. You can run |
sure. But I'm still getting a blank docx when using html with |
Can you post the html you are parsing? |
Here is it
|
Hello.
I'm using
\PhpOffice\PhpWord\Shared\Html::addHtml($section, $html, true, false);
$objWriter = \PhpOffice\PhpWord\IOFactory::createWriter($phpWord, 'Word2007');
My $html contains several images like
<img src="https://path_to_image">
$objWriter->save($file_name . '.docx'); returns a blank DOCX.
Without
it works properly.
What's wrong?
The text was updated successfully, but these errors were encountered: