Home
last modified time | relevance | path

Searched refs:sample_html (Results 1 – 8 of 8) sorted by relevance

/plugin/html2pdf/html2pdf/html2ps/
H A Dxhtml.deflist.inc.php4 function process_dd(&$sample_html, $offset) { argument
5 …return autoclose_tag($sample_html, $offset, "(dt|dd|dl|/dl|/dd)", array("dl" => "process_dl"), "/d…
8 function process_dt(&$sample_html, $offset) { argument
9 …return autoclose_tag($sample_html, $offset, "(dt|dd|dl|/dl|/dd)", array("dl" => "process_dl"), "/d…
12 function process_dl(&$sample_html, $offset) { argument
13 return autoclose_tag($sample_html, $offset, "(dt|dd|/dl)",
19 function process_deflists(&$sample_html, $offset) { argument
20 return autoclose_tag($sample_html, $offset, "(dl)",
H A Dxhtml.lists.inc.php4 function process_li(&$sample_html, $offset) { argument
5 return autoclose_tag($sample_html, $offset, "(ul|ol|li|/li|/ul|/ol)",
11 function process_ol(&$sample_html, $offset) { argument
12 return autoclose_tag($sample_html, $offset, "(li|/ol)",
17 function process_ul(&$sample_html, $offset) { argument
18 return autoclose_tag($sample_html, $offset, "(li|/ul)",
23 function process_lists(&$sample_html, $offset) { argument
24 return autoclose_tag($sample_html, $offset, "(ul|ol)",
H A Dxhtml.autoclose.inc.php4 function autoclose_tag(&$sample_html, $offset, $tags, $nested, $close) { argument
7 while (preg_match("#^(.*?)({$tags})#is", substr($sample_html, $offset),$matches)) {
18 $offset = $nested[$tag]($sample_html, $tag_end);
22 $sample_html = substr_replace($sample_html, $to_be_inserted, $tag_start ,0);
45 function autoclose_tag_cleanup(&$sample_html, $offset, $tags_raw, $nested, $close) { argument
47 skip_to($sample_html, $offset, $tags_raw);
49 while (preg_match("#^(.*?)({$tags})#is", substr($sample_html, $offset),$matches)) {
60 $offset = $nested[$tag]($sample_html, $tag_end);
64 $sample_html = substr_replace($sample_html, $to_be_inserted, $tag_start ,0);
68 skip_to($sample_html, $offset, $tags_raw);
H A Dxhtml.tables.inc.php4 function process_cell(&$sample_html, $offset) { argument
5 $r = autoclose_tag($sample_html, $offset,
12 function process_header_cell(&$sample_html, $offset) { argument
13 return autoclose_tag($sample_html, $offset,
38 function process_row(&$sample_html, $offset) { argument
39 return autoclose_tag_cleanup($sample_html, $offset,
47 function process_rowgroup($group, &$sample_html, $offset) { argument
48 return autoclose_tag_cleanup($sample_html, $offset,
74 …$sample_html = substr_replace($html, "<colgroup>".$matches[0], $offset - strlen($matches[0]), strl…
101 function process_tables(&$sample_html, $offset) { argument
[all …]
H A Dxhtml.selects.inc.php4 function process_option(&$sample_html, $offset) { argument
5 return autoclose_tag($sample_html, $offset, "(option|/select|/option)",
10 function process_select(&$sample_html, $offset) { argument
11 return autoclose_tag($sample_html, $offset, "(option|/select)",
16 function process_selects(&$sample_html, $offset) { argument
17 return autoclose_tag($sample_html, $offset, "(select)",
H A Dxhtml.p.inc.php4 function process_p($sample_html) { argument
25 …while (preg_match("#^(.*?)(<\s*p(\s+[^>]*?)?>)(.*?)($open|$close)#is",substr($sample_html, $offset…
28 $sample_html = substr_replace($sample_html, "</p>", $cutpos, 0);
35 return $sample_html;
H A Dxhtml.script.inc.php4 function process_script($sample_html) { argument
5 return preg_replace("#<script.*?</script>#is","",$sample_html);
H A Dxhtml.utils.inc.php4 function close_tag($tag, $sample_html) { argument
5 return preg_replace("!(<{$tag}(\s[^>]*[^/>])?)>!si","\\1/>",$sample_html);