Mercurial > hg-stable
changeset 28208:f4418ff2f700
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.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 27 Dec 2015 17:16:45 +0900 |
parents | 43edd3003456 |
children | 8ddf893560fa |
files | mercurial/templatefilters.py |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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,