Here is an example that we can't import into CORE.
Thank you for shopping at [store:name]. While logged in, you may continue shopping or <a href="[uc_order:url]">view your current order status</a> and order history
"Placeholder with colon" couldn't pass the XSS check
<a href="[uc_order:url]">TEXT</a>
Needs a fix to the code or write a comment to the docs to educate developers don't use it inside an HTML tag.
Comments
Comment #9
quietone commented@droplet, thanks for the report.
The text in the issue summary is not part of core. Fixing that would have to be done in module that string originated from.
And there is documentation. For example for 9.3.x, protected static function FormattableMarkup::placeholderFormat explain how to use placeholders. And for reference there is quite a lot in the Drupal 7 Localization API .
There is no bug here, changing to a support request. It also not specified what the security issue is, so removing tag. Finally, closing as outdated.