diff options
author | Christian Schneider | 2007-08-30 13:43:13 +0000 |
---|---|---|
committer | Christian Schneider | 2007-08-30 13:43:13 +0000 |
commit | 7722bd06a2797d06529d21fc939cd84ae98361fe (patch) | |
tree | 511292c13fa0d47e260f6e0ba2dd2dc794002e25 /it_html.class | |
parent | 52ead6bc0391e0c85cdba31e83cd38e661a514c6 (diff) | |
download | itools-7722bd06a2797d06529d21fc939cd84ae98361fe.tar.gz itools-7722bd06a2797d06529d21fc939cd84ae98361fe.tar.bz2 itools-7722bd06a2797d06529d21fc939cd84ae98361fe.zip |
Diffstat (limited to 'it_html.class')
-rw-r--r-- | it_html.class | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/it_html.class b/it_html.class index af0ab26..f05003d 100644 --- a/it_html.class +++ b/it_html.class @@ -263,7 +263,7 @@ function sanitize($html) $result .= it_html::sanitize($head) . "<$tagname />" . it_html::sanitize($tail); } else - $result = it_html::Q(it::replace('&#\d+;' => "", html_entity_decode(strip_tags($html)))); + $result = it_html::Q(it::replace(array('&#\d+;' => ""), html_entity_decode(strip_tags($html)))); return $result; } @@ -506,7 +506,7 @@ function head($args = array()) $checksum = itjs::checksum(itjs::filenames($p['js'])); $js .= $this->_itjs("boot.js", "inline"); $js .= "function it_boot_start(){ " . trim($p['jsboot']) . " }\n"; - $js .= "it_boot('/itjs/" . it_html::U($p['js'], 's' => $checksum) . "');\n"; + $js .= "it_boot('/itjs/" . it_html::U($p['js'], array('s' => $checksum)) . "');\n"; } $js .= $this->_itjs($p['jsinline'], 'inline'); |