- 🇳🇿New Zealand quietone
This was discussed at a documentation triage meeting, with Amber Himes Matz. smustgrave and myself.
We all agree that there are other issues on this topic, and Amber Himes Matz found. She also pointed out that there was a "big to-do about this in the summer of 2015" and suspected that this issue is now a duplicate of another one.
- #2506479: Replace !placeholder with @placeholder for non URLs in t() in Views, except for t() output that is used as an attribute value →
- #2506427: [meta] !placeholder causes strings to be escaped and makes the sanitization API harder to understand →
Also,
- The use of ! was removed from install.core.inc #2570355: Replace remaining !placeholder and @placeholder with :placeholder for URLs → .
- The documentation in \Drupal\Component\Render\FormattableMarkup was updated in #2577785: Remove PlaceholderTrait → .
- The documentation snippet in #9 was updated in #2570431: Document that certain (non-"href") attribute values in t() and SafeMarkup::format() are not supported and may be insecure → .
As Amber Himes Matz pointed out this can be a bit of a rabbit hole. However, I am not finding anything more that needs to be done here.
I am closing this as outdated. If there is more to do add a comment and explain what needs to be done.
Thanks!