File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -11,5 +11,11 @@ <h1>Adding element via HTML</h1>
11
11
< ul > < li > Item 1</ li > < li > Item 2</ li > < ul > < li > Item 2.1</ li > < li > Item 2.1</ li > </ ul > </ ul >
12
12
< p > Ordered (numbered) list:</ p >
13
13
< ol > < li > Item 1</ li > < li > Item 2</ li > </ ol >
14
+
15
+
16
+ < p style ="line-height:2 "> Double height</ p >
17
+
18
+ < h2 > Includes images</ h2 >
19
+ < img src ="https://phpword.readthedocs.io/en/latest/_images/phpword.png " alt =""/>
14
20
</ body >
15
21
</ html >
Original file line number Diff line number Diff line change @@ -485,10 +485,10 @@ public function testParseRemoteLocalImage()
485
485
{
486
486
$ src = 'https://fakedomain.io/images/firefox.png ' ;
487
487
$ localPath = __DIR__ . '/../_files/images/ ' ;
488
- $ options = [
488
+ $ options = array (
489
489
'IMG_SRC_SEARCH ' => 'https://fakedomain.io/images/ ' ,
490
490
'IMG_SRC_REPLACE ' => $ localPath
491
- ] ;
491
+ ) ;
492
492
493
493
$ phpWord = new \PhpOffice \PhpWord \PhpWord ();
494
494
$ section = $ phpWord ->addSection ();
You can’t perform that action at this time.
0 commit comments