Skip to content

Commit

Permalink
fix: remove newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
Karol-Stelmaczonek committed Dec 18, 2024
1 parent adfdbef commit 2497591
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions model/Export/Qti3Package/TransformationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ public function transformAttributes(DOMElement $sourceElement, DOMElement $targe
foreach ($sourceElement->attributes as $attribute) {
if (!str_starts_with($attribute->nodeName, 'xmlns') &&
$attribute->nodeName !== 'xsi:schemaLocation') {

$attrName = $this->camelToHyphen($attribute->nodeName);

if (!empty($attrName)) {
$targetElement->setAttribute($attrName, $attribute->value);
}
Expand Down

0 comments on commit 2497591

Please sign in to comment.