templatefilters: drop broken "jsonescape" from filters table (BC)
authorYuya Nishihara <yuya@tcha.org>
Sun, 27 Dec 2015 17:16:45 +0900
changeset 28208 f4418ff2f700
parent 28207 43edd3003456
child 28209 8ddf893560fa
templatefilters: drop broken "jsonescape" from filters table (BC) It's been unused, undocumented and flawed in that it expects a unicode input, never works correctly if an input has non-ascii character. We should use "json" filter instead.
mercurial/templatefilters.py
--- a/mercurial/templatefilters.py	Sat Feb 20 23:57:21 2016 -0800
+++ b/mercurial/templatefilters.py	Sun Dec 27 17:16:45 2015 +0900
@@ -402,7 +402,6 @@
     "isodate": isodate,
     "isodatesec": isodatesec,
     "json": json,
-    "jsonescape": jsonescape,
     "lower": lower,
     "nonempty": nonempty,
     "obfuscate": obfuscate,