From 508d6194fca7a2f9a7646f696ff386abd38d6749 Mon Sep 17 00:00:00 2001 From: Roman Syroeshko Date: Mon, 13 Jun 2016 20:31:33 +0400 Subject: [PATCH] Fixed build. --- src/PhpWord/Writer/ODText/Element/Link.php | 1 + src/PhpWord/Writer/ODText/Element/Title.php | 1 + src/PhpWord/Writer/ODText/Part/Meta.php | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/PhpWord/Writer/ODText/Element/Link.php b/src/PhpWord/Writer/ODText/Element/Link.php index 97b977f2..fb4b33ec 100644 --- a/src/PhpWord/Writer/ODText/Element/Link.php +++ b/src/PhpWord/Writer/ODText/Element/Link.php @@ -16,6 +16,7 @@ */ namespace PhpOffice\PhpWord\Writer\ODText\Element; + use PhpOffice\PhpWord\Settings; /** diff --git a/src/PhpWord/Writer/ODText/Element/Title.php b/src/PhpWord/Writer/ODText/Element/Title.php index b6ff9522..ed1fa736 100644 --- a/src/PhpWord/Writer/ODText/Element/Title.php +++ b/src/PhpWord/Writer/ODText/Element/Title.php @@ -16,6 +16,7 @@ */ namespace PhpOffice\PhpWord\Writer\ODText\Element; + use PhpOffice\PhpWord\Settings; /** diff --git a/src/PhpWord/Writer/ODText/Part/Meta.php b/src/PhpWord/Writer/ODText/Part/Meta.php index bbef1a08..536902b5 100644 --- a/src/PhpWord/Writer/ODText/Part/Meta.php +++ b/src/PhpWord/Writer/ODText/Part/Meta.php @@ -102,7 +102,7 @@ class Meta extends AbstractPart // $xmlWriter->writeAttribute('meta:value-type', $type); // } if (Settings::isOutputEscapingEnabled()) { - $xmlWriter->text($value); + $xmlWriter->text($value); } else { $xmlWriter->writeRaw($value); }