Example #1
0
        public async Task DecodeUrl()
        {
            var input = new StringValue("john%40liquid.com");

            var arguments = new FilterArguments();
            var context   = new TemplateContext();

            var result = await MiscFilters.UrlDecode(input, arguments, context);

            Assert.Equal("*****@*****.**", result.ToStringValue());
        }