Skip to content

Commit

Permalink
Fix double qoutes in html for LinklistGroupFromArray
Browse files Browse the repository at this point in the history
  • Loading branch information
DvogelHallowelt committed Oct 15, 2024
1 parent 9bc21d1 commit 57fff4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Renderer/LinklistGroupFromArray.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace MWStake\MediaWiki\Component\CommonUserInterface\Renderer;

use Exception;
use HtmlArmor;
use MWStake\MediaWiki\Component\CommonUserInterface\AriaAttributesBuilder;
use MWStake\MediaWiki\Component\CommonUserInterface\DataAttributesBuilder;
use MWStake\MediaWiki\Component\CommonUserInterface\IComponent;
Expand Down Expand Up @@ -68,7 +69,7 @@ public function getRendererDataTreeNode( $component, $subComponentNodes ): array
$templateData = array_merge(
$templateData,
[
'cnt-aria' => $ariaAttributesBuilder->build( $aria )
'cnt-aria' => $ariaAttributesBuilder->toString( $aria )
]
);
}
Expand Down

0 comments on commit 57fff4e

Please sign in to comment.