@@ -85,9 +85,9 @@ |
||
| 85 | 85 | if ($attributeName === 'title') { |
| 86 | 86 | $mainElement[0]=$attributeValue; |
| 87 | 87 | } elseif (substr($attributeName, 0, 1) === '_') { |
| 88 | - $mainElement->addAttribute(substr($attributeName, 1), $attributeValue); |
|
| 88 | + $mainElement->addAttribute(substr($attributeName, 1), $attributeValue); |
|
| 89 | 89 | } else { |
| 90 | - $mainElement->addChild($attributeName, $attributeValue); |
|
| 90 | + $mainElement->addChild($attributeName, $attributeValue); |
|
| 91 | 91 | } |
| 92 | 92 | } |
| 93 | 93 | |