XF 2.0 Disable phrase params escaping?

Siropu

Well-known member
Licensed customer
In XF1, there was an option called $insertParamsEscaped. How do you do that in XF2?
 
Is this possible in XF 2? I've tried {param|raw} but doesn't work inside phrases.
 
You'd either pass in instances of XF\PreEscaped objects as the values or you need to handle rendering the phrase manually and pass in a render context of "raw".
 
Back
Top Bottom