|
@@ 660-668 (lines=9) @@
|
| 657 |
|
$attrs = array(); |
| 658 |
|
foreach ((array)$attributes as $attrName => $attrValue) { |
| 659 |
|
|
| 660 |
|
if (isset(self::$booleanAttributes[$attrName])) { |
| 661 |
|
|
| 662 |
|
if ($this->doSortHtmlAttributes === true) { |
| 663 |
|
$attrs[$attrName] = $this->booleanAttributesHelper; |
| 664 |
|
$element->{$attrName} = null; |
| 665 |
|
} |
| 666 |
|
|
| 667 |
|
continue; |
| 668 |
|
} |
| 669 |
|
|
| 670 |
|
// ------------------------------------------------------------------------- |
| 671 |
|
// Remove optional "http:"-prefix from attributes. |
|
@@ 699-702 (lines=4) @@
|
| 696 |
|
$attrValue = $this->sortCssClassNames($attrName, $attrValue); |
| 697 |
|
} |
| 698 |
|
|
| 699 |
|
if ($this->doSortHtmlAttributes === true) { |
| 700 |
|
$attrs[$attrName] = $attrValue; |
| 701 |
|
$element->{$attrName} = null; |
| 702 |
|
} |
| 703 |
|
} |
| 704 |
|
|
| 705 |
|
// ------------------------------------------------------------------------- |