tcpdf - 6.3.2 --- LearnDash 3.2.2 2020-07-07 File: tcpdf/tcpdf.php Function: inside getHtmlDomArray() Description of changes: Added condition wrapper around line 16436 to prevent replacing multiple spaces with single space. Original: $html = preg_replace('/'.$this->re_space['p'].'+/'.$this->re_space['m'], chr(32), $html); // replace multiple spaces with a single space Changed: if ( ( ! defined( 'LEARNDASH_TCPDF_LEGACY_LD322' ) ) || ( true !== LEARNDASH_TCPDF_LEGACY_LD322 ) ) { $html = preg_replace('/'.$this->re_space['p'].'+/'.$this->re_space['m'], chr(32), $html); // replace multiple spaces with a single space } --- LearnDash 3.2.2 2020-07-07 File: tcpdf/tcpdf.php Function: inside getHTMLUnitToUnits() Description of changes: Added condition wrapper around lines 20399-20404. Original: if ($points) { error_log( 'this->k[' . $this->k . ']' ); $retval *= $this->k; } Changed: if ( ( ! defined( 'LEARNDASH_TCPDF_LEGACY_LD322' ) ) || ( true !== LEARNDASH_TCPDF_LEGACY_LD322 ) ) { if ($points) { error_log( 'this->k[' . $this->k . ']' ); $retval *= $this->k; } } --- LearnDash 3.2.2 2020-07-07 File: tcpdf/tcpdf.php Function: getHtmlDomArray() Description of changes: Added condition wrapper around lines 16690-16692. Original: $dom[$key]['line-height'] = (($dom[$key]['line-height'] - $this->cell_padding['T'] - $this->cell_padding['B']) / $dom[$key]['fontsize']); Changed: if ( ( ! defined( 'LEARNDASH_TCPDF_LEGACY_LD322' ) ) || ( true !== LEARNDASH_TCPDF_LEGACY_LD322 ) ) { $dom[$key]['line-height'] = (($dom[$key]['line-height'] - $this->cell_padding['T'] - $this->cell_padding['B']) / $dom[$key]['fontsize']); } --- File: tcpdf/tcpdf.php Function: getHtmlDomArray() Description of changes: Changed line 16362 to remove invalid tags '

' from call to strip_tags() function. Original: $html = strip_tags($html, '