Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
Edited by Sven May ·
19-02-2015 - 08:51 Hello!
I've an HTML content with a number list:
- check enabled (warning appears if length < TORA)
- check disabled
I do not know how I can protect special HTML TAG chars here, sry...so the code above is an ol list with li subtags...and in below too...
My code is:
$docx = new \Phpdocx\Create\CreateDocx();
$wf = new Phpdocx\Elements\WordFragment();
$wf->embedHTML('- check enabled (warning appears if length < TORA)
- check disabled
);
$docx->createDocx('numbering_test');
...and I got the following Warning:
Warning: DOMDocument::loadXML(): Empty string supplied as input .... CreateDocx.inc line 4054
What is wrong?
This is a part of my code. In real case I am using a template...so first I thought that is the problem but when I try to run it
in a clean code like above I got the same error :(