From aa660150aee4dc28208e573a6e35a096a2249f20 Mon Sep 17 00:00:00 2001 From: Mark Baker Date: Sun, 17 Nov 2013 19:52:35 +0000 Subject: [PATCH] Documentation (jamescostian) GH-234 - Fixed some malformed Markdown --- Documentation/markdown/Overview/08-Recipes.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/markdown/Overview/08-Recipes.md b/Documentation/markdown/Overview/08-Recipes.md index d7a3db38..616c145d 100644 --- a/Documentation/markdown/Overview/08-Recipes.md +++ b/Documentation/markdown/Overview/08-Recipes.md @@ -731,8 +731,13 @@ An example on setting cell security: $objPHPExcel->getActiveSheet()->getStyle('B1') ->getProtection() ->setLocked(PHPExcel_Style_Protection::PROTECTION_UNPROTECTED); +``` -__Make sure you enable worksheet protection if you need any of the worksheet protection features!__ This can be done using the following code: $objPHPExcel->getActiveSheet()->getProtection()->setSheet(true); +__Make sure you enable worksheet protection if you need any of the worksheet protection features!__ This can be done using the following code: + +```php +$objPHPExcel->getActiveSheet()->getProtection()->setSheet(true); +``` ### Setting data validation on a cell