Skip to content

Commit a07dc6c

Browse files
author
Roman Syroeshko
committed
#483. Output escaping for OOXML.
1 parent ec3c62b commit a07dc6c

File tree

7 files changed

+7
-2
lines changed

7 files changed

+7
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ $objWriter->save('helloWorld.html');
149149
/* Note: we skip RTF, because it's not XML-based and requires a different example. */
150150
/* Note: we skip PDF, because "HTML-to-PDF" approach is used to create PDF documents. */
151151
```
152-
:warning: Escape any string you pass to OOXML/ODF/HTML document, otherwise it may get broken.
152+
:warning: Escape any string you pass to ODF/HTML document, otherwise it may get broken.
153153

154154
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.
155155

src/PhpWord/Escaper/AbstractEscaper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*
2323
* @codeCoverageIgnore
2424
*/
25-
abstract class AbstractEscaper implements EscaperInterface
25+
abstract class AbstractEscaper implements EscaperInterface
2626
{
2727
/**
2828
* @param string $subject

src/PhpWord/Writer/Word2007/Element/CheckBox.php

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
*/
1717

1818
namespace PhpOffice\PhpWord\Writer\Word2007\Element;
19+
1920
use PhpOffice\PhpWord\Settings;
2021

2122
/**

src/PhpWord/Writer/Word2007/Element/Link.php

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
*/
1717

1818
namespace PhpOffice\PhpWord\Writer\Word2007\Element;
19+
1920
use PhpOffice\PhpWord\Settings;
2021

2122
/**

src/PhpWord/Writer/Word2007/Element/PreserveText.php

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
*/
1717

1818
namespace PhpOffice\PhpWord\Writer\Word2007\Element;
19+
1920
use PhpOffice\PhpWord\Settings;
2021

2122
/**

src/PhpWord/Writer/Word2007/Element/Text.php

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
*/
1717

1818
namespace PhpOffice\PhpWord\Writer\Word2007\Element;
19+
1920
use PhpOffice\PhpWord\Settings;
2021

2122
/**

src/PhpWord/Writer/Word2007/Element/Title.php

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
*/
1717

1818
namespace PhpOffice\PhpWord\Writer\Word2007\Element;
19+
1920
use PhpOffice\PhpWord\Settings;
2021

2122
/**

0 commit comments

Comments
 (0)