diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index 7190f7f..b718e58 100755 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -1,3 +1,6 @@ +5.9.064 (2011-04-05) + - A bug related to character entities on HTML cells was fixed. + 5.9.063 (2011-04-01) - Bug item #3267235 "WriteHTML() and image that doesn't fit on the page" was fixed. diff --git a/README.TXT b/README.TXT index 804fa53..70aadd1 100755 --- a/README.TXT +++ b/README.TXT @@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076 ------------------------------------------------------------ Name: TCPDF -Version: 5.9.063 -Release date: 2011-04-01 +Version: 5.9.064 +Release date: 2011-04-05 Author: Nicola Asuni Copyright (c) 2002-2011: diff --git a/tcpdf.php b/tcpdf.php index 3bfe417..9bade5b 100755 --- a/tcpdf.php +++ b/tcpdf.php @@ -1,9 +1,9 @@ * @package com.tecnick.tcpdf * @author Nicola Asuni - * @version 5.9.063 + * @version 5.9.064 */ // Main configuration file. Define the K_TCPDF_EXTERNAL_CONFIG constant to skip this file. @@ -146,7 +146,7 @@ require_once(dirname(__FILE__).'/config/tcpdf_config.php'); * TCPDF project (http://www.tcpdf.org) has been originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.
* @package com.tecnick.tcpdf * @brief PHP class for generating PDF documents without requiring external extensions. - * @version 5.9.063 + * @version 5.9.064 * @author Nicola Asuni - info@tecnick.com */ class TCPDF { @@ -157,7 +157,7 @@ class TCPDF { * Current TCPDF version. * @private */ - private $tcpdf_version = '5.9.063'; + private $tcpdf_version = '5.9.064'; // Protected properties @@ -20148,7 +20148,7 @@ Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value: $cellh = 0; } if (isset($dom[$key]['content'])) { - $cell_content = $dom[$key]['content']; + $cell_content = stripslashes($this->unhtmlentities($dom[$key]['content'])); } else { $cell_content = ' '; }