- First commit to issue fork.
If you have some safe strings and you want to safe_join them in a template and pass that as a @placeholder for translation, they get escaped even though they are safe. safe_join actually breaks the Markup object wrapper.
Without this patch any Markup instance passed to the |safe_join()
Twig filter will be unintentionally escaped.
Disruptions: None, the intended result of this is to concatenate strings safely and return them joined by a separator and each item escaped if an item is not already a Markup instance.
Make the safe_join filter return a Markup object.
Less things getting accidentally escaped.
safe_join will return a TwigMarkup/Markup object rather than a string.
None
Expectations of how safe_join works with MarkupInterface will be way off and this is not disruptive.
Needs work
11.0 🔥
Last updated
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.