Fixes html entities to prevent parsing error of generated documentation.

The html output contained "<style> and </style>" which causes a parse
error on stricter html validators. The solution was to swap < and > for
the equivalent html entities &lt; and &gt; respectivelly.

Signed-off-by: André Tannús <atannus@epungo.com.br>
This commit is contained in:
André Tannús 2014-03-05 18:39:07 -03:00
parent e69a5e4d0f
commit 557ca47a6b

View File

@ -670,7 +670,7 @@ class PHPExcel_Writer_HTML extends PHPExcel_Writer_Abstract implements PHPExcel_
/**
* Generate CSS styles
*
* @param boolean $generateSurroundingHTML Generate surrounding HTML tags? (<style> and </style>)
* @param boolean $generateSurroundingHTML Generate surrounding HTML tags? (&lt;style&gt; and &lt;/style&gt;)
* @return string
* @throws PHPExcel_Writer_Exception
*/