Lava Filters - EscapeDataString (aka UrlEncode)

Category:Text

Description:Converts a string to its escaped representation using Uri.EscapeDataString (aka URL Encoding).
Input: "CurrentPerson": { "NickName": "Ted" ... } "Context": { "Campus": { "Name": "Jackson Hole" ... } }
Lava: {% capture body %} You are invited to go to Fun Event with me at the {{ Context.Campus.Name }} campus. Wanna Go? There will be lots of fun stuff to do! Your friend, {{ CurrentPerson.NickName }} {% endcapture %} Email
Output: Email