Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit eb2029b

Browse files
committed
Merge remote-tracking branch 'basz/hotfix/zf2-349'
8 parents 3a2cf9b + 192d20c + d2649e3 + f0162d1 + 6f01416 + a2b3753 + 1786961 + a000795 commit eb2029b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Helper/HeadScript.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,7 @@ public function itemToString($item, $indent, $escapeStart, $escapeEnd)
408408
$attrString = '';
409409
if (!empty($item->attributes)) {
410410
foreach ($item->attributes as $key => $value) {
411-
if ((!$this->arbitraryAttributesAllowed()
412-
&& !in_array($key, $this->_optionalAttributes))
411+
if ((!$this->arbitraryAttributesAllowed() && !in_array($key, $this->_optionalAttributes))
413412
|| in_array($key, array('conditional', 'noescape')))
414413
{
415414
continue;

0 commit comments

Comments
 (0)