Fix coloring broken for tags like columns

This commit is contained in:
Kovid Goyal 2011-06-03 14:58:28 -06:00
parent d38c3a9fd9
commit 191c68189c

View File

@ -127,6 +127,8 @@ class Rule(object): # {{{
val, lt, eq, gt) val, lt, eq, gt)
def multiple_condition(self, col, action, val, sep): def multiple_condition(self, col, action, val, sep):
if sep == '|':
sep = ','
if action == 'is set': if action == 'is set':
return "test(field('%s'), '1', '')"%col return "test(field('%s'), '1', '')"%col
if action == 'is not set': if action == 'is not set':