From b767fe0a6b131722b6b73873f5723a2a2e255b1f Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Wed, 3 Oct 2007 15:36:09 +0000 Subject: Improve detection if js() has content and needs XML comment --- it_html.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_html.class') diff --git a/it_html.class b/it_html.class index 4167356..4899c7e 100644 --- a/it_html.class +++ b/it_html.class @@ -449,7 +449,7 @@ function u(/* ... */) */ function js($args) { - if (($this->p['htmltype'] != 'html') && isset($args[0])) + if (($this->p['htmltype'] != 'html') && $args[0] && ((array)$args[0] === array_values((array)$args[0]))) { array_unshift($args, ""; -- cgit v1.2.3