Permalink
Browse files
fixed bug with image tag helper
- Loading branch information...
Showing
with
3 additions
and
3 deletions.
-
+1
−1
helpers-5.3.php
-
+1
−1
helpers.php
-
+1
−1
src/tag.php
|
@@ -297,7 +297,7 @@ function i($src, $options_or_selector = array(), $options = array()) { |
|
|
$options += parse_simple_selector($options_or_selector);
|
|
|
$options['src'] = url_for_image($src);
|
|
|
$options += array('alt' => '');
|
|
|
- return empty_tag('img', $as, $options);
|
|
|
+ return empty_tag('img', $options);
|
|
|
}
|
|
|
|
|
|
function link_to($html, $url, $options = array()) {
|
|
|
|
@@ -297,7 +297,7 @@ function i($src, $options_or_selector = array(), $options = array()) { |
|
|
$options += parse_simple_selector($options_or_selector);
|
|
|
$options['src'] = url_for_image($src);
|
|
|
$options += array('alt' => '');
|
|
|
- return empty_tag('img', $as, $options);
|
|
|
+ return empty_tag('img', $options);
|
|
|
}
|
|
|
|
|
|
function link_to($html, $url, $options = array()) {
|
|
|
|
@@ -36,7 +36,7 @@ function i($src, $options_or_selector = array(), $options = array()) { |
|
|
$options += parse_simple_selector($options_or_selector);
|
|
|
$options['src'] = url_for_image($src);
|
|
|
$options += array('alt' => '');
|
|
|
- return empty_tag('img', $as, $options);
|
|
|
+ return empty_tag('img', $options);
|
|
|
}
|
|
|
|
|
|
function link_to($html, $url, $options = array()) {
|
|
|
0 comments on commit
79388f9