TCPDF_STATIC::fixHTMLCode( $html,  $default_css = '',  $tagvs = '',  $tidy_options = '',  $tagvspaces )

Cleanup HTML code (requires HTML Tidy library).


Description Description

See also See also


Top ↑

Parameters Parameters

$html

(Required) (string) htmlcode to fix

$default_css

(Optional) (string) CSS commands to add

Default value: ''

$tagvs

(Optional) (array) parameters for setHtmlVSpace method

Default value: ''

$tidy_options

(Optional) (array) options for tidy_parse_string function

Default value: ''

$tagvspaces

(Required) (array) Array of vertical spaces for tags.


Top ↑

Return Return

(string) XHTML code cleaned up


Top ↑

Source Source

File: includes/lib/tcpdf/include/tcpdf_static.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
5.9.017 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.