Fix optionnal "$tagvspaces" parameter declaration

This commit is contained in:
Cédric Anne 2020-10-14 10:35:46 +02:00 committed by GitHub
parent 292fc741f8
commit 9616e9e44b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1136,7 +1136,7 @@ class TCPDF_STATIC {
* @see setHtmlVSpace()
* @public static
*/
public static function fixHTMLCode($html, $default_css='', $tagvs='', $tidy_options='', &$tagvspaces) {
public static function fixHTMLCode($html, $default_css='', $tagvs='', $tidy_options='', &$tagvspaces=array()) {
// configure parameters for HTML Tidy
if ($tidy_options === '') {
$tidy_options = array (