##// END OF EJS Templates
templater: drop \ when handling escaped {
Matt Mackall -
r10855:62216fae default
parent child Browse files
Show More
@@ -121,7 +121,7 b' class engine(object):'
121 121 break
122 122 if n > 0 and tmpl[n - 1] == '\\':
123 123 # escaped
124 parsed.append((None, tmpl[pos:n + 1]))
124 parsed.append((None, tmpl[pos:n - 1] + "{"))
125 125 pos = n + 1
126 126 continue
127 127 if n > pos:
General Comments 0
You need to be logged in to leave comments. Login now