Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=52335 Only handle <\% and not \% as escaped in template text.