Skip to content

Commit 925e9e0

Browse files
authored
remove trailing spaces
1 parent c51b6fe commit 925e9e0

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
@@ -514,7 +514,7 @@ protected function getMainPartName()
514514
$pattern = '~PartName="\/(word\/document.*?\.xml)" ContentType="application\/vnd\.openxmlformats-officedocument\.wordprocessingml\.document\.main\+xml"~';
515515

516516
preg_match($pattern, $contentTypes, $matches);
517-
517+
518518
return (array_key_exists(1, $matches) ? $matches[1] : 'word/document.xml');
519519
}
520520

0 commit comments

Comments
 (0)