Skip to content

Commit

Permalink
#483. Output escaping for OOXML.
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Syroeshko committed Jun 4, 2016
1 parent ec3c62b commit a07dc6c
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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](https://phpword.readthedocs.org/) and the [API Documentation](https://phpoffice.github.io/PHPWord/docs/master/) for more detail.

Expand Down
2 changes: 1 addition & 1 deletion src/PhpWord/Escaper/AbstractEscaper.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*
* @codeCoverageIgnore
*/
abstract class AbstractEscaper implements EscaperInterface
abstract class AbstractEscaper implements EscaperInterface
{
/**
* @param string $subject
Expand Down
1 change: 1 addition & 0 deletions src/PhpWord/Writer/Word2007/Element/CheckBox.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
*/

namespace PhpOffice\PhpWord\Writer\Word2007\Element;

use PhpOffice\PhpWord\Settings;

/**
Expand Down
1 change: 1 addition & 0 deletions src/PhpWord/Writer/Word2007/Element/Link.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
*/

namespace PhpOffice\PhpWord\Writer\Word2007\Element;

use PhpOffice\PhpWord\Settings;

/**
Expand Down
1 change: 1 addition & 0 deletions src/PhpWord/Writer/Word2007/Element/PreserveText.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
*/

namespace PhpOffice\PhpWord\Writer\Word2007\Element;

use PhpOffice\PhpWord\Settings;

/**
Expand Down
1 change: 1 addition & 0 deletions src/PhpWord/Writer/Word2007/Element/Text.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
*/

namespace PhpOffice\PhpWord\Writer\Word2007\Element;

use PhpOffice\PhpWord\Settings;

/**
Expand Down
1 change: 1 addition & 0 deletions src/PhpWord/Writer/Word2007/Element/Title.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
*/

namespace PhpOffice\PhpWord\Writer\Word2007\Element;

use PhpOffice\PhpWord\Settings;

/**
Expand Down

0 comments on commit a07dc6c

Please sign in to comment.