- Issue created by @Summit
- π³π±Netherlands Summit
Hi,
This is maybe relevant information? https://drupal.stackexchange.com/questions/51655/prevent-drupal-from-rew... to solve this issue?
Greetings, - π³π±Netherlands Summit
Hi,
Could it be this simple to solve in GeofieldDirectionFormatter.phpLine 213: - $link = Link::fromTextAndUrl($link_text, $url); + $link = Link::fromTextAndUrl(Html::decodeEntities($link_text), $url);
I am not a programmer, so can you please provide a patch, so that tokens like node:title, are decoded and & doesn't become &.
Greetings, - First commit to issue fork.
- Merge request !6Fix encoded entities produced by token replace β (Merged) created by generalredneck
- Status changed to Needs review
8 months ago 3:17am 19 March 2024 - πΊπΈUnited States generalredneck
Summit,
Give this MR a try. If you need the patch, you can grab it from the plain diff link above
See screenshot:
Turns out that the act of replacing tokens is the process that creates the encoded HTML entities. I had to fix that behavior in attributes too. I had to jank around the way attributes tokens were replaced as well because there were several characters you couldn't have in them which included any special character or a semicolon.
Lastly I fixed coding standards and the tests to show my work.
-
generalredneck β
committed 25e28f01 on 1.x
Issue #3406548 by generalredneck, Summit: Fields with &, become &...
-
generalredneck β
committed 25e28f01 on 1.x
- Status changed to Fixed
8 months ago 1:28pm 21 March 2024 - π³π±Netherlands Summit
Hi, little busy, many thanks! is it now in 1.dev? Greetings,
Automatically closed - issue fixed for 2 weeks with no activity.