- Issue created by @s.messaris
- Status changed to Needs work
7 months ago 9:49am 5 September 2024 - 🇬🇷Greece s.messaris
Leaving as "needs work", since it will probably need at least a test.
If exporting the link text, the url works correctly. If not exporting link text, the url is exported with ['#markup' => $url->toString()]
, resulting in &
in the url params been escaped to &
. It needs to be changed to
[
'#type' => 'data',
'#data' => SerializedData::create($url->toString()),
];
that is similar to what is done when text is exported and will work correctly.
Needs work
3.1
Code
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Leaving as "needs work", since it will probably need at least a test.