From 557ca47a6bd23ef5e5441b7f3e9da13cea86b9c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Tann=C3=BAs?= Date: Wed, 5 Mar 2014 18:39:07 -0300 Subject: [PATCH] Fixes html entities to prevent parsing error of generated documentation. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The html output contained "" which causes a parse error on stricter html validators. The solution was to swap < and > for the equivalent html entities < and > respectivelly. Signed-off-by: AndrĂ© TannĂºs --- Classes/PHPExcel/Writer/HTML.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/PHPExcel/Writer/HTML.php b/Classes/PHPExcel/Writer/HTML.php index 72fd8185..095f26e0 100644 --- a/Classes/PHPExcel/Writer/HTML.php +++ b/Classes/PHPExcel/Writer/HTML.php @@ -670,7 +670,7 @@ class PHPExcel_Writer_HTML extends PHPExcel_Writer_Abstract implements PHPExcel_ /** * Generate CSS styles * - * @param boolean $generateSurroundingHTML Generate surrounding HTML tags? () + * @param boolean $generateSurroundingHTML Generate surrounding HTML tags? (<style> and </style>) * @return string * @throws PHPExcel_Writer_Exception */