Skip to content
Permalink
Browse files

Refactor cleanly.

  • Loading branch information...
dereuromark committed Jun 17, 2015
1 parent 2d7487d commit 7dedf7f86dbc49f667c9db9707f236e243920217
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/View/Helper/HtmlHelper.php
@@ -71,7 +71,7 @@ class HtmlHelper extends AppHelper {
'submit' => '<input%s/>',
'submitimage' => '<input type="image" src="%s"%s/>',
'button' => '<button%s>%s</button>',
'image' => '<img src="%s" %s/>',
'image' => '<img src="%s"%s/>',
'tableheader' => '<th%s>%s</th>',
'tableheaderrow' => '<tr%s>%s</tr>',
'tablecell' => '<td%s>%s</td>',
@@ -828,7 +828,7 @@ public function image($path, $options = array()) {
unset($options['url']);
}
$image = sprintf($this->_tags['image'], $path, $this->_parseAttributes($options, null, '', ' '));
$image = sprintf($this->_tags['image'], $path, $this->_parseAttributes($options, null, ' ', ' '));
if ($url) {
return sprintf($this->_tags['link'], $this->url($url), null, $image);

0 comments on commit 7dedf7f

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.