[CHANGED] "README.md". Added notice required about input escaping.
This commit is contained in:
parent
4a0da83f28
commit
41f6aec45f
|
|
@ -122,7 +122,7 @@ $phpWord->save('helloWorld.docx');
|
|||
$phpWord->save('helloWorld.odt', 'ODText');
|
||||
$phpWord->save('helloWorld.rtf', 'RTF');
|
||||
```
|
||||
:exclamation: Don't forget to 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 through [``htmlspecialchars``](https://php.net/manual/en/function.htmlspecialchars.php) at least.
|
||||
: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 through [``htmlspecialchars``](https://php.net/manual/en/function.htmlspecialchars.php) at least.
|
||||
|
||||
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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue