[CHANGED] "README.md". Added notice required about input escaping.
This commit is contained in:
parent
41f6aec45f
commit
9a6c224e47
|
|
@ -122,7 +122,7 @@ $phpWord->save('helloWorld.docx');
|
||||||
$phpWord->save('helloWorld.odt', 'ODText');
|
$phpWord->save('helloWorld.odt', 'ODText');
|
||||||
$phpWord->save('helloWorld.rtf', 'RTF');
|
$phpWord->save('helloWorld.rtf', 'RTF');
|
||||||
```
|
```
|
||||||
: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.
|
: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.
|
||||||
|
|
||||||
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.
|
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