#483. Output escaping for OOXML.

This commit is contained in:
Roman Syroeshko 2016-06-04 20:21:54 +04:00
parent ec3c62b051
commit a07dc6cdf0
7 changed files with 7 additions and 2 deletions

View File

@ -149,7 +149,7 @@ $objWriter->save('helloWorld.html');
/* Note: we skip RTF, because it's not XML-based and requires a different example. */
/* Note: we skip PDF, because "HTML-to-PDF" approach is used to create PDF documents. */
```
:warning: Escape any string you pass to OOXML/ODF/HTML document, otherwise it may get broken.
:warning: Escape any string you pass to ODF/HTML document, otherwise it may get broken.
More examples are provided in the [samples folder](samples/). You can also read the [Developers' Documentation](http://phpword.readthedocs.org/) and the [API Documentation](http://phpoffice.github.io/PHPWord/docs/master/) for more detail.

View File

@ -22,7 +22,7 @@ namespace PhpOffice\PhpWord\Escaper;
*
* @codeCoverageIgnore
*/
abstract class AbstractEscaper implements EscaperInterface
abstract class AbstractEscaper implements EscaperInterface
{
/**
* @param string $subject

View File

@ -16,6 +16,7 @@
*/
namespace PhpOffice\PhpWord\Writer\Word2007\Element;
use PhpOffice\PhpWord\Settings;
/**

View File

@ -16,6 +16,7 @@
*/
namespace PhpOffice\PhpWord\Writer\Word2007\Element;
use PhpOffice\PhpWord\Settings;
/**

View File

@ -16,6 +16,7 @@
*/
namespace PhpOffice\PhpWord\Writer\Word2007\Element;
use PhpOffice\PhpWord\Settings;
/**

View File

@ -16,6 +16,7 @@
*/
namespace PhpOffice\PhpWord\Writer\Word2007\Element;
use PhpOffice\PhpWord\Settings;
/**

View File

@ -16,6 +16,7 @@
*/
namespace PhpOffice\PhpWord\Writer\Word2007\Element;
use PhpOffice\PhpWord\Settings;
/**