Instead of explicitly calling the l function and setting the #markup property we should be employing the link theme function. This allows developers to modify the link output, including changing the link text and adding additional attributes.
I've attached a patch with the refactored code.
Committed thanks !
Automatically closed -- issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.