From 41f6aec45f6181df355fafbcee624b0156a9fc5d Mon Sep 17 00:00:00 2001 From: Roman Syroeshko Date: Sun, 23 Nov 2014 13:07:30 +0400 Subject: [PATCH] [CHANGED] "README.md". Added notice required about input escaping. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8821c04a..afd7535d 100644 --- a/README.md +++ b/README.md @@ -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.