Skip to content
Permalink
Browse files

Consolidate template whitespace

  • Loading branch information...
dereuromark committed Jun 20, 2015
1 parent 705f44e commit 1d03d5bd59cc807a6ddb97b618c95662303ccb60
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/Cake/View/Helper/HtmlHelper.php
@@ -91,7 +91,7 @@ class HtmlHelper extends AppHelper {
'fieldsetstart' => '<fieldset><legend>%s</legend>',
'fieldsetend' => '</fieldset>',
'legend' => '<legend>%s</legend>',
'css' => '<link rel="%s" type="text/css" href="%s" %s/>',
'css' => '<link rel="%s" type="text/css" href="%s"%s/>',
'style' => '<style type="text/css"%s>%s</style>',
'charset' => '<meta http-equiv="Content-Type" content="text/html; charset=%s" />',
'ul' => '<ul%s>%s</ul>',
@@ -472,15 +472,15 @@ public function css($path, $options = array()) {
if ($options['rel'] === 'import') {
$out = sprintf(
$this->_tags['style'],
$this->_parseAttributes($options, array('rel', 'block'), '', ' '),
$this->_parseAttributes($options, array('rel', 'block')),
'@import url(' . $url . ');'
);
} else {
$out = sprintf(
$this->_tags['css'],
$options['rel'],
$url,
$this->_parseAttributes($options, array('rel', 'block'), '', ' ')
$this->_parseAttributes($options, array('rel', 'block'))
);
}

0 comments on commit 1d03d5b

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.