diff roundup/cgi/templating.py @ 6325:1a15089c2e49 issue2550923_computed_property

Merge trunk into branch
author John Rouillard <rouilj@ieee.org>
date Sat, 06 Feb 2021 20:15:26 -0500
parents 1e5ed659e8ca fd0bdcbc68e4
children 30358e334232
line wrap: on
line diff
--- a/roundup/cgi/templating.py	Fri Jan 15 16:34:30 2021 -0500
+++ b/roundup/cgi/templating.py	Sat Feb 06 20:15:26 2021 -0500
@@ -1686,7 +1686,7 @@
                                 ('(', ')'),
                                 }:
                             continue
-                    if prefix == '(' and match.string[end - 1] == ')':
+                    if prefix == '(' and ')' in match.group(group):
                         continue
                 s = match.group(group)
                 return '<%s>' % s

Roundup Issue Tracker: http://roundup-tracker.org/