diff options
author | Nathan Gass | 2012-10-10 13:49:18 +0000 |
---|---|---|
committer | Nathan Gass | 2012-10-10 13:49:18 +0000 |
commit | 90cf156efacfbe84808cca243b1b2a955f6c4f10 (patch) | |
tree | 506c8686b9eeeb71fe53c724c0a2ee71d3178503 /tests/it_html.t | |
parent | c17e84f438be473ff6d13a1f6ddef1dd876cb2f2 (diff) | |
download | itools-90cf156efacfbe84808cca243b1b2a955f6c4f10.tar.gz itools-90cf156efacfbe84808cca243b1b2a955f6c4f10.tar.bz2 itools-90cf156efacfbe84808cca243b1b2a955f6c4f10.zip |
implement myimg in myhtml to have same behaviour with or without fasttag
Diffstat (limited to 'tests/it_html.t')
-rwxr-xr-x | tests/it_html.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/it_html.t b/tests/it_html.t index c91b54c..bc3f8e5 100755 --- a/tests/it_html.t +++ b/tests/it_html.t @@ -121,9 +121,9 @@ function myhtml($p = array()) function myimg($args) { - array_unshift($args, array('alt' => "ALT", 'bar' => "BAR")); + array_unshift($args, array('alt' => "ALT", 'bar' => "BAR")); - return parent::img($args); + return parent::img(array_filter(it_parse_args($args))); } } |