Skip to content

Commit

Permalink
Merge branch 'hotfix/3579'
Browse files Browse the repository at this point in the history
  • Loading branch information
weierophinney committed Jan 29, 2013
2 parents 56be7f1 + 280609d commit 835e6a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions library/Zend/View/Helper/HeadScript.php
Original file line number Diff line number Diff line change
Expand Up @@ -422,18 +422,18 @@ public function itemToString($item, $indent, $escapeStart, $escapeEnd)
$html .= $indent . ' ' . $item->source;

if ($addScriptEscape) {
$html .= $indent . ' ' . $escapeEnd . PHP_EOL;
$html .= $indent . PHP_EOL . ' ' . $escapeEnd;
}

$html .= $indent;
$html .= PHP_EOL . $indent;
}
$html .= '</script>';

if (isset($item->attributes['conditional'])
&& !empty($item->attributes['conditional'])
&& is_string($item->attributes['conditional']))
{
$html = $indent . '<!--[if ' . $item->attributes['conditional'] . ']> ' . $html . '<![endif]-->';
$html = $indent . '<!--[if ' . $item->attributes['conditional'] . ']>' . $html . '<![endif]-->';
} else {
$html = $indent . $html;
}
Expand Down

0 comments on commit 835e6a8

Please sign in to comment.