Skip to content

Commit b8ee099

Browse files
Roman SyroeshkoRoman Syroeshko
authored andcommitted
[CHANGED] "README.md". Added notice required about input escaping.
1 parent 9a6c224 commit b8ee099

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ $phpWord->save('helloWorld.docx');
122122
$phpWord->save('helloWorld.odt', 'ODText');
123123
$phpWord->save('helloWorld.rtf', 'RTF');
124124
```
125-
:warning: Escape any string PHPWord API consumes by passing it through [Zend\Escaper](http://framework.zend.com/manual/2.3/en/index.html#zend-escaper) or [``htmlspecialchars``](https://php.net/manual/en/function.htmlspecialchars.php) at least.
125+
:warning: Escape any string you pass to your document with PHPWord API. Otherwise you may broke the document.
126126

127127
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.
128128

0 commit comments

Comments
 (0)