Issue #2937999 by stefan.butura: Integration with menu_link_attributes (does not preserve attributes)