Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Consolidate template whitespace
  • Loading branch information
Mark Scherer committed Jun 20, 2015
1 parent 705f44e commit 1d03d5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Cake/View/Helper/HtmlHelper.php
Expand Up @@ -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>',
Expand Down Expand Up @@ -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'))
);
}

Expand Down

0 comments on commit 1d03d5b

Please sign in to comment.