Skip to content

Commit 18e41a1

Browse files
authored
Update TemplateProcessor.php
1 parent ec1b3d3 commit 18e41a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpWord/TemplateProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ public function setImageValue($search, $replace, $limit = self::MAXIMUM_REPLACEM
575575

576576
// define templates
577577
// result can be verified via "Open XML SDK 2.5 Productivity Tool" (http://www.microsoft.com/en-us/download/details.aspx?id=30425)
578-
$imgTpl = '<w:pict><v:shape type="#_x0000_t75" style="width:{WIDTH};height:{HEIGHT}"><v:imagedata r:id="{RID}" o:title=""/></v:shape></w:pict>';
578+
$imgTpl = '<w:pict><v:shape type="#_x0000_t75" style="width:{WIDTH};height:{HEIGHT}" stroked="f"><v:imagedata r:id="{RID}" o:title=""/></v:shape></w:pict>';
579579

580580
foreach ($searchParts as $partFileName => &$partContent) {
581581
$partVariables = $this->getVariablesForPart($partContent);

0 commit comments

Comments
 (0)