Expand URL variable in custom languages.yaml

@AquaL1te, When trying to solve an issue, it is important to be precise. As said in your previous post, remarks like “I get plain text. No URL, but also no HTML/markdown. Just the text.” don’t carry much information.

How does “Just the text” look like? A copy of the HTML element containing “just the text” in the email is more informative.

The email works fine on this end, but that doesn’t help you… I’m not using your environment and given the info you’ve given, I can’t replay yours.

Suggestion:

  • Enable the Clockwork debugger
  • Dump intermediate values to the debugger using {{ dump(variable) }}.
    • {{ dump(base_url) }},
    • {{ dump(grav.uri.base) }}
    • dump value of translation
    • dump value after filter |raw has been applied.
    • In data.html.twig, create hardcoded <a> anchor with a fixed url as href and see how that comes across the email.
      It might be that the mailserver or any other intermediate alters the email.

Other then that, I cannot do much for you anymore…

1 Like